summaryrefslogtreecommitdiff
path: root/src/tools/thread
AgeCommit message (Collapse)Author
2006-02-04Move thread_test directory from /tools to /test so source-only tarballsBruce Momjian
have the directory for the configure test.
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-08-23The attached patch updates the thread test program to run stand-alone onBruce Momjian
Windows. The test itself is bypassed in configure as discussed, and libpq has been updated appropriately to allow it to build in thread-safe mode. Dave Page
2005-08-23Back out incorrect commit.Bruce Momjian
2005-08-23Fix function name.Bruce Momjian
2005-03-11Mark file-global function and variables as static.Bruce Momjian
2005-01-01Some more missed copyright notices. Many of these look like theyTom Lane
should have been caught by the src/tools/copyright script ... why weren't they?
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
2004-12-19Test for POSIX.1c 2-arg sigwait() and fail on single-arg version.Bruce Momjian
2004-09-26Use <> not "" for include of pthread.h.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-06-09Use mkstemp instead of mktemp in thread test, per Jan.Bruce Momjian
2004-05-28When checking for thread safety with src/tools/thread/thread_test.c, theBruce Momjian
mktemp function wants an argument that contains 6 X, while the current version only supplies 5 X which will fail on my SuSE 8.1. Andreas Pflug
2004-04-27Do thread testing from configure in a much cleaner fashion.Bruce Momjian
2004-04-27Add comments.Bruce Momjian
2004-04-27Use mktemp for temporary file names, per suggestion from Peter.Bruce Momjian
2004-04-27Move postgres.h to the top of the C file.Bruce Momjian
2004-04-26Fix subdir for thread test program.Bruce Momjian
2004-04-26More thread error improvments.Bruce Momjian
2004-04-26More thread error message improvments.Bruce Momjian
2004-04-25No need to use our standard libs for the thread test --- they might notBruce Momjian
be compiled yet.
2004-04-23Hook thread_test program run at the end of configure run.Bruce Momjian
Add test for cross-compiles that they have to run the thread_test program on the target machine.
2004-04-23Report error if thread-test is run without having threading enabled inBruce Momjian
configure.
2004-04-23Improve thread test program. Test only functions that need testing.Bruce Momjian
2004-04-23Add new auto-detection of thread flags.Bruce Momjian
Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
2004-04-22Simplify thread test program.Bruce Momjian
2004-04-21More thread test program improvements.Bruce Momjian
2004-04-21Improve thread test program to show if non-*_r functions are even called.Bruce Momjian
2004-04-06Add thread program mention of errno thread-safety.Bruce Momjian
2004-04-05Add comment that sched_yield might be a portability problem.Bruce Momjian
2004-04-05Change getpid() while loop to use sched_yield(), greatly speeds up test.Bruce Momjian
sched_yield is a requirement for the test but not for our PostgreSQL code, so if it causes a portability problem, we will remove it.
2004-04-05Have threads wait for parent to test thread-specific pointers beforeBruce Momjian
exiting.
2004-04-05Add volatile to thread-specific thread variables.Bruce Momjian
2004-04-05Update thread test to only test for 'localhost' and local machine name.Bruce Momjian
2004-04-04Update thread test to do getpid() in while loop, also use weather.comBruce Momjian
rather than slashdot.org for testing.
2004-03-28Clean up thread test program.Bruce Momjian
2004-03-27Add test for thread-safe errno to thread test program.Bruce Momjian
2004-02-11Check and set thread-safe functions separately, rather than as a singleBruce Momjian
variable. Remove thread locking for non-thread-safe functions, instead throw a compile error. Platforms will have to re-run tools/thread to record their thread safety.
2003-12-19Supress ecpg thread test if configure didn't enable threads. FixBruce Momjian
tools/thread to run even if configure didn't enable threads because this test is used before enabling threads for the OS.
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-11-24Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.Peter Eisentraut
Fixes compilation failure with --enable-thread-safety --with-perl and Perl 5.6.1.
2003-10-24Don't reference pthread.h unless we have threads enabled, per Peter.Bruce Momjian
2003-09-27Add compile step to instructions.Bruce Momjian
2003-09-27Finalize configuration of thread_test program.Bruce Momjian
2003-09-27Rename thread compile flag. Move thread test program to tools/thread,Bruce Momjian
and improve tests.