|
6 | 6 | * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California
|
8 | 8 | *
|
9 |
| - *$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.34 2004/09/26 01:40:55 momjian Exp $ |
| 9 | + *$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.35 2004/12/19 04:06:23 momjian Exp $ |
10 | 10 | *
|
11 | 11 | *This program tests to see if your standard libc functions use
|
12 | 12 | *pthread_setspecific()/pthread_getspecific() to be thread-safe.
|
@@ -47,6 +47,11 @@ typedef char bool;
|
47 | 47 | #include<fcntl.h>
|
48 | 48 | #include<errno.h>
|
49 | 49 |
|
| 50 | +/* Test for POSIX.1c 2-arg sigwait() and fail on single-arg version */ |
| 51 | +#include<signal.h> |
| 52 | +intsigwait(constsigset_t*set,int*sig); |
| 53 | + |
| 54 | + |
50 | 55 | #if !defined(ENABLE_THREAD_SAFETY)&& !defined(IN_CONFIGURE)
|
51 | 56 | int
|
52 | 57 | main(intargc,char*argv[])
|
|