diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 03:33:25 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 03:33:25 +0000 |
commit | b1274bd94c94520ed9402f85c949976d7008093e (patch) | |
tree | 6ed7755c34e5fcccbe06ff095017a4399de180ff /testsuites/psxtests/psxrwlock01 | |
parent | Whitespace removal. (diff) | |
download | rtems-b1274bd94c94520ed9402f85c949976d7008093e.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'testsuites/psxtests/psxrwlock01')
-rw-r--r-- | testsuites/psxtests/psxrwlock01/test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxrwlock01/test.c b/testsuites/psxtests/psxrwlock01/test.c index 567d15d3da..d7505bafa1 100644 --- a/testsuites/psxtests/psxrwlock01/test.c +++ b/testsuites/psxtests/psxrwlock01/test.c @@ -110,7 +110,7 @@ int main( /*************** NOT INITIALIZED CHECKS *****************/ /* cheat visibility */ - attr.is_initialized = 0; + attr.is_initialized = 0; puts( "pthread_rwlockattr_setpshared( &attr, shared ) -- EINVAL" ); status = pthread_rwlockattr_setpshared( &attr, PTHREAD_PROCESS_SHARED ); assert( status == EINVAL ); @@ -338,7 +338,7 @@ int main( assert( !status ); sleep(2); - + /*************** CREATE THREADS AND LET THEM OBTAIN WRITE LOCK *************/ puts( "pthread_rwlock_trywrlock(RWLock) -- OK" ); status = pthread_rwlock_trywrlock(&RWLock); @@ -367,7 +367,7 @@ int main( puts( "clock_gettime(CLOCK_REALTIME, &abstime) -- OK" ); status = clock_gettime( CLOCK_REALTIME, &abstime ); assert( !status ); - + abstime.tv_sec += 1; puts( "pthread_rwlock_timedwrlock( &RWLock, &abstime) -- OK" ); status = pthread_rwlock_timedwrlock( &RWLock, &abstime ); @@ -421,7 +421,7 @@ int main( puts( "pthread_rwlock_unlock ( &rwlock ) -- OK" ); status = pthread_rwlock_unlock( &rwlock ); assert( status == 0 ); - + puts( "pthread_rwlock_unlock ( &rwlock ) -- OK" ); status = pthread_rwlock_unlock( &rwlock ); assert( status == 0 ); |