Commit Graph

41 Commits (2193a856a229026673cbc56310cd0bddf7b5ea25)

Author SHA1 Message Date
Bruce Momjian c5159bc0c0 Mark file-global function and variables as static. 21 years ago
Tom Lane 7e1c8ef4fc Some more missed copyright notices. Many of these look like they 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. 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 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 095ed37f13 Fix subdir for thread test program. 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 ae5bc8a601 No need to use our standard libs for the thread test --- they might not 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
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Peter Eisentraut 8878cc4cd7 Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl. 22 years ago
Bruce Momjian cded27cacd Don't reference pthread.h unless we have threads enabled, per Peter. 23 years ago
Bruce Momjian bb9ec59419 Add compile step to instructions. 23 years ago
Bruce Momjian 391dceb462 Finalize configuration of thread_test program. 23 years ago
Bruce Momjian 227dd9b427 Rename thread compile flag. Move thread test program to tools/thread, 23 years ago