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/cancel7.c | |
| parent | cccaf0c2c82e78a72d69a4a50c872f308bed2f65 (diff) | |
Mutex, semaphore, thread ID, test suite changes - see ChangeLogs
Diffstat (limited to 'tests/cancel7.c')
| -rw-r--r-- | tests/cancel7.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tests/cancel7.c b/tests/cancel7.c index 9ad7db0..0609710 100644 --- a/tests/cancel7.c +++ b/tests/cancel7.c @@ -109,7 +109,7 @@ Win32thread(void * arg)    assert(bag->started == 0);    bag->started = 1; -  assert((bag->self = pthread_self()) != NULL); +  assert((bag->self = pthread_self()).p != NULL);    assert(pthread_kill(bag->self, 0) == 0);    for (i = 0; i < 100; i++) @@ -191,7 +191,7 @@ main()        result = (int) PTHREAD_CANCELED;  #endif -      assert(threadbag[i].self != NULL); +      assert(threadbag[i].self.p != NULL);        assert(pthread_kill(threadbag[i].self, 0) == ESRCH);        fail = (result != (int) PTHREAD_CANCELED); | 
