From 8200f6ff1edca15756a22e6359f20836c4b5425b Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 27 Feb 2002 22:53:15 +0000 Subject: * exception3.c (terminateFunction): For MSVC++, call exit() rather than pthread_exit(). Add comments to explain why. * rwlock2_t.c: New test. * rwlock3_t.c: New test. * rwlock4_t.c: New test. * rwlock5_t.c: New test. * rwlock6_t.c: New test. * rwlock6_t2.c: New test. * rwlock6.c (main): Swap thread and result variables to correspond to actual thread functions. * rwlock1.c: Change test description comment to correspond to the actual test. --- tests/rwlock1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/rwlock1.c') diff --git a/tests/rwlock1.c b/tests/rwlock1.c index 72bce85..cebb485 100644 --- a/tests/rwlock1.c +++ b/tests/rwlock1.c @@ -35,12 +35,10 @@ * * -------------------------------------------------------------------------- * - * Create a simple rwlock object, lock it, and then unlock it again. + * Create a simple rwlock object and then destroy it. * * Depends on API functions: * pthread_rwlock_init() - * pthread_rwlock_lock() - * pthread_rwlock_unlock() * pthread_rwlock_destroy() */ -- cgit v1.2.3