More thread error message improvments.
This commit is contained in:
parent
022a1e0cf1
commit
2f5223600a
@ -6,7 +6,7 @@
|
|||||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.23 2004/04/23 23:58:12 momjian Exp $
|
* $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.24 2004/04/26 00:36:18 momjian Exp $
|
||||||
*
|
*
|
||||||
* This program tests to see if your standard libc functions use
|
* This program tests to see if your standard libc functions use
|
||||||
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
|
* pthread_setspecific()/pthread_getspecific() to be thread-safe.
|
||||||
@ -139,7 +139,7 @@ main(int argc, char *argv[])
|
|||||||
printf("thread-safe.\n");
|
printf("thread-safe.\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("not thread-safe.\n");
|
printf("not thread-safe. **\n");
|
||||||
platform_is_threadsafe = false;
|
platform_is_threadsafe = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -152,7 +152,7 @@ main(int argc, char *argv[])
|
|||||||
printf("thread-safe.\n");
|
printf("thread-safe.\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("not thread-safe.\n");
|
printf("not thread-safe. **\n");
|
||||||
platform_is_threadsafe = false;
|
platform_is_threadsafe = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -169,7 +169,7 @@ main(int argc, char *argv[])
|
|||||||
printf("thread-safe.\n");
|
printf("thread-safe.\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("not thread-safe.\n");
|
printf("not thread-safe. **\n");
|
||||||
platform_is_threadsafe = false;
|
platform_is_threadsafe = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user