File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2003, 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.15 2004/04/05 14: 13:45 momjian Exp $
9
+ * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.16 2004/04/06 13:55:17 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.
@@ -85,6 +85,8 @@ defines to your template/$port file before compiling this program.\n\n"
85
85
while (thread1_done == 0 || thread2_done == 0 )
86
86
sched_yield (); /* if this is a portability problem, remove it */
87
87
88
+ fprintf (stderr , "errno is thread-safe\n\n" );
89
+
88
90
printf ("Add this to your template/$port file:\n\n" );
89
91
90
92
if (strerror_p1 != strerror_p2 )
You can’t perform that action at this time.
0 commit comments