We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f48c9 commit 53ddde5Copy full SHA for 53ddde5
src/tools/thread/thread_test.c
@@ -6,7 +6,7 @@
6
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
- * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.11 2004/04/05 01:27:58 momjian Exp $
+ * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.12 2004/04/05 02:22:14 momjian Exp $
10
11
* This program tests to see if your standard libc functions use
12
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
@@ -37,8 +37,8 @@ void func_call_2(void);
37
38
char myhostname[MAXHOSTNAMELEN];
39
40
-int errno1_set = 0;
41
-int errno2_set = 0;
+volatile int errno1_set = 0;
+volatile int errno2_set = 0;
42
43
char *strerror_p1;
44
char *strerror_p2;
0 commit comments