diff options
author | rpj <rpj> | 2004-11-03 01:08:41 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-11-03 01:08:41 +0000 |
commit | ec8290acdaea21b16d98f1ef5d4ae8a28ab2109a (patch) | |
tree | 0bd3750ec1cc12594b6cfe69473e393da6ec101b /tests/self1.c | |
parent | cccaf0c2c82e78a72d69a4a50c872f308bed2f65 (diff) |
Mutex, semaphore, thread ID, test suite changes - see ChangeLogs
Diffstat (limited to 'tests/self1.c')
-rw-r--r-- | tests/self1.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/self1.c b/tests/self1.c index 5cffac8..347fa79 100644 --- a/tests/self1.c +++ b/tests/self1.c @@ -52,7 +52,11 @@ main(int argc, char * argv[]) * This should always succeed unless the system has no * resources (memory) left. */ - assert(pthread_self() != NULL); + pthread_t self; + + self = pthread_self(); + + assert(self.p != NULL); return 0; } |