diff options
Diffstat (limited to 'testsuites/psxtests/psx10/task.c')
-rw-r--r-- | testsuites/psxtests/psx10/task.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuites/psxtests/psx10/task.c b/testsuites/psxtests/psx10/task.c index 8e53bc4927..8cbcdaf6d3 100644 --- a/testsuites/psxtests/psx10/task.c +++ b/testsuites/psxtests/psx10/task.c @@ -31,31 +31,31 @@ void *Task_1( printf( "Task_1: ID is 0x%08" PRIxpthread_t "\n", Task_id ); status = pthread_mutex_init( &Mutex_id, NULL ); - rtems_test_assert( !status ); + rtems_test_assert( !status ); status = pthread_mutex_lock( &Mutex_id ); - rtems_test_assert( !status ); + rtems_test_assert( !status ); puts( "Task_1: pthread_cond_wait" ); status = pthread_cond_wait( &Cond1_id, &Mutex_id ); - rtems_test_assert( !status ); + rtems_test_assert( !status ); puts( "Task_1: back from pthread_cond_wait release mutex" ); status = pthread_mutex_unlock( &Mutex_id ); - rtems_test_assert( !status ); + rtems_test_assert( !status ); /* wait for a condition variable broadcast from Init */ status = pthread_mutex_lock( &Mutex_id ); - rtems_test_assert( !status ); + rtems_test_assert( !status ); puts( "Task_1: pthread_cond_wait" ); status = pthread_cond_wait( &Cond1_id, &Mutex_id ); - rtems_test_assert( !status ); + rtems_test_assert( !status ); puts( "Task_1: back from pthread_cond_wait release mutex" ); status = pthread_mutex_unlock( &Mutex_id ); - rtems_test_assert( !status ); + rtems_test_assert( !status ); puts( "Task_1: task exit" ); pthread_exit( NULL ); |