Commit Graph

14 Commits (5473f283f501ff9f5e38e89d3a2e89f738a7e76f)

Author SHA1 Message Date
Bruce Momjian 5473f283f5 Properly call strerror() in thread test; add comments. 14 years ago
Bruce Momjian e319ec4b73 Simplify errno generating in thread testing program. 14 years ago
Bruce Momjian 6cc08e703b Have thread_test create its test files in the current directory, rather 14 years ago
Heikki Linnakangas 336db7e347 Check the return code of pthread_create(). Otherwise we go into an infinite 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Magnus Hagander 667685ca7d Add required include to build with cygwin. 17 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian 8b4ff8b6a1 Wording cleanup for error messages. Also change can't -> cannot. 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 9e66c3e6fe Move thread_test directory from /tools to /test so source-only tarballs 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian 43bf3a6bc6 The attached patch updates the thread test program to run stand-alone on 20 years ago
Bruce Momjian a970a8cb95 Back out incorrect commit. 20 years ago
Bruce Momjian eef7e30cc1 Fix function name. 20 years ago
Bruce Momjian c5159bc0c0 Mark file-global function and variables as static. 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Bruce Momjian f167dc8802 Test for POSIX.1c 2-arg sigwait() and fail on single-arg version. 21 years ago
Bruce Momjian e9ec10494e Use <> not "" for include of pthread.h. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
Bruce Momjian 36b8654cb0 Use mkstemp instead of mktemp in thread test, per Jan. 22 years ago
Bruce Momjian 0163983330 When checking for thread safety with src/tools/thread/thread_test.c, the 22 years ago
Bruce Momjian e27338f26c Do thread testing from configure in a much cleaner fashion. 22 years ago
Bruce Momjian ca8a8baa76 Add comments. 22 years ago
Bruce Momjian f687c7e87f Use mktemp for temporary file names, per suggestion from Peter. 22 years ago
Bruce Momjian b498b795a0 Move postgres.h to the top of the C file. 22 years ago
Bruce Momjian 144d828e7f More thread error improvments. 22 years ago
Bruce Momjian 2f5223600a More thread error message improvments. 22 years ago
Bruce Momjian f6646efa4c Hook thread_test program run at the end of configure run. 22 years ago
Bruce Momjian 95178c8d24 Report error if thread-test is run without having threading enabled in 22 years ago
Bruce Momjian 66b42d3028 Improve thread test program. Test only functions that need testing. 22 years ago
Bruce Momjian 7a66015e98 Add new auto-detection of thread flags. 22 years ago
Bruce Momjian 1b4e82559c Simplify thread test program. 22 years ago
Bruce Momjian f9a2d0b2fb More thread test program improvements. 22 years ago
Bruce Momjian 53b5455387 Improve thread test program to show if non-*_r functions are even called. 22 years ago
Bruce Momjian 055b0d27f6 Add thread program mention of errno thread-safety. 22 years ago
Bruce Momjian d8fe99d98c Add comment that sched_yield might be a portability problem. 22 years ago
Bruce Momjian a86c329f99 Change getpid() while loop to use sched_yield(), greatly speeds up test. 22 years ago
Bruce Momjian a1d63d9232 Have threads wait for parent to test thread-specific pointers before 22 years ago
Bruce Momjian 53ddde5b74 Add volatile to thread-specific thread variables. 22 years ago
Bruce Momjian 31f48c9afe Update thread test to only test for 'localhost' and local machine name. 22 years ago
Bruce Momjian d56b736db0 Update thread test to do getpid() in while loop, also use weather.com 22 years ago
Bruce Momjian b803cf4320 Clean up thread test program. 22 years ago
Bruce Momjian db9a957618 Add test for thread-safe errno to thread test program. 22 years ago
Bruce Momjian c6f0559371 Check and set thread-safe functions separately, rather than as a single 22 years ago
Bruce Momjian 85f51dea1c Supress ecpg thread test if configure didn't enable threads. Fix 22 years ago