summaryrefslogtreecommitdiff
path: root/tests/self2.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-02-21 06:38:06 +0000
committerrpj <rpj>1999-02-21 06:38:06 +0000
commit1acd28b4aec86a907846e1715bc95208d6e277e6 (patch)
tree45ee712e6b50cd61d810782ec4b30eb08fd0369e /tests/self2.c
parent46cb13531327c59ce4e3189e1a5b1763ed248095 (diff)
Sun Feb 21 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* pthread.h (PTHREAD_MUTEX_INITIALIZER): missing braces around cs element initialiser. Bring some tests up-to-date.
Diffstat (limited to 'tests/self2.c')
-rw-r--r--tests/self2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/self2.c b/tests/self2.c
index 51cc129..461e5f9 100644
--- a/tests/self2.c
+++ b/tests/self2.c
@@ -1,6 +1,4 @@
#include <pthread.h>
-/* Hack. Peer into implementation details. */
-#include <implement.h>
#include <assert.h>
#include <stdio.h>
@@ -13,7 +11,7 @@ entry(void * arg)
ordinarily bad, m'kay? */
pthread_t t = pthread_self();
- printf("my thread is %lx\n", t->win32handle);
+ printf("my thread is %lx\n", t->threadH);
return arg;
}