From 1b4f2b305c95a832a259e4c4944f1a0981676eba Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 09:24:30 +0000 Subject: Remove stray white spaces. --- testsuites/psxtests/psx08/init.c | 14 +++++++------- testsuites/psxtests/psx08/task2.c | 2 +- testsuites/psxtests/psx08/task3.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'testsuites/psxtests/psx08') diff --git a/testsuites/psxtests/psx08/init.c b/testsuites/psxtests/psx08/init.c index b3f630208f..eb21f41f75 100644 --- a/testsuites/psxtests/psx08/init.c +++ b/testsuites/psxtests/psx08/init.c @@ -1,4 +1,4 @@ -/* +/* * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). * @@ -42,10 +42,10 @@ void *POSIX_Init( assert( !status ); /* create thread */ - + status = pthread_create( &Task1_id, NULL, Task_1, NULL ); assert( !status ); - + puts( "Init: pthread_join - ESRCH (invalid id)" ); status = pthread_join( -1, &return_pointer ); assert( status == ESRCH ); @@ -66,14 +66,14 @@ void *POSIX_Init( return_pointer, &Task1_id ); - + puts( "Init: creating two pthreads" ); status = pthread_create( &Task2_id, NULL, Task_2, NULL ); assert( !status ); - + status = pthread_create( &Task3_id, NULL, Task_3, NULL ); assert( !status ); - + puts( "Init: pthread_join - SUCCESSFUL" ); status = pthread_join( Task2_id, &return_pointer ); /* assert is below comment */ @@ -91,7 +91,7 @@ void *POSIX_Init( return_pointer, &Task2_id ); - + puts( "Init: exitting" ); return NULL; } diff --git a/testsuites/psxtests/psx08/task2.c b/testsuites/psxtests/psx08/task2.c index ffdd92bbdb..d7f8fc003c 100644 --- a/testsuites/psxtests/psx08/task2.c +++ b/testsuites/psxtests/psx08/task2.c @@ -38,7 +38,7 @@ void *Task_2( if ( status != EINVAL ) printf( "status = %d\n", status ); assert( status == EINVAL ); - + puts( "Task_2: join to self task (Init) -- EDEADLK" ); status = pthread_join( pthread_self(), NULL ); if ( status != EDEADLK ) diff --git a/testsuites/psxtests/psx08/task3.c b/testsuites/psxtests/psx08/task3.c index 3584a30bbb..24aa724fc7 100644 --- a/testsuites/psxtests/psx08/task3.c +++ b/testsuites/psxtests/psx08/task3.c @@ -34,7 +34,7 @@ void *Task_3( if ( status ) printf( "status = %d\n", status ); assert( !status ); - + if ( return_pointer == &Task2_id ) puts( "Task_3: pthread_join returned correct pointer" ); else -- cgit v1.2.3