summaryrefslogtreecommitdiff
path: root/src/port/thread.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-10-21 12:08:48 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-10-21 12:08:48 -0400
commit8a2121185b26d7eb439860c7a96a08c0aa3c8508 (patch)
treee22fbf12819424c30ed2ea8f81731afcbeadc453 /src/port/thread.c
parent555eb1a4f0114e1c4017093fe840045dde1ed9ea (diff)
Remove the option to build thread_test.c outside configure.
Theoretically one could go into src/test/thread and build/run this program there. In practice, that hasn't worked since 96bf88d52, and probably much longer on some platforms (likely including just the sort of hoary leftovers where this test might be of interest). While it wouldn't be too hard to repair the breakage, the fact that nobody has noticed for two years shows that there is zero usefulness in maintaining this build pathway. Let's get rid of it and decree that thread_test.c is *only* meant to be built/used in configure. Given that decision, it makes sense to put thread_test.c under config/ and get rid of src/test/thread altogether, so that's what I did. In passing, update src/test/README, which had been ignored by some not-so-recent additions of subdirectories. Discussion: https://postgr.es/m/227659.1603041612@sss.pgh.pa.us
Diffstat (limited to 'src/port/thread.c')
-rw-r--r--src/port/thread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/port/thread.c b/src/port/thread.c
index 171df0f9e38..0941cb6a88f 100644
--- a/src/port/thread.c
+++ b/src/port/thread.c
@@ -47,9 +47,6 @@
* use non-*_r functions if they are thread-safe
*
* One thread-safe solution for gethostbyname() might be to use getaddrinfo().
- *
- * Run src/test/thread to test if your operating system has thread-safe
- * non-*_r functions.
*/