summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx04/task3.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 09:24:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 09:24:30 +0000
commit1b4f2b305c95a832a259e4c4944f1a0981676eba (patch)
tree1ee56809b12a03ba53d630f5483a48387f72b74a /testsuites/psxtests/psx04/task3.c
parentRemove stray white spaces. (diff)
downloadrtems-1b4f2b305c95a832a259e4c4944f1a0981676eba.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'testsuites/psxtests/psx04/task3.c')
-rw-r--r--testsuites/psxtests/psx04/task3.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuites/psxtests/psx04/task3.c b/testsuites/psxtests/psx04/task3.c
index a465d2ace4..5870e91272 100644
--- a/testsuites/psxtests/psx04/task3.c
+++ b/testsuites/psxtests/psx04/task3.c
@@ -65,36 +65,36 @@ void *Task_3(
status = sigemptyset( &mask );
assert( !status );
-
+
status = sigaddset( &mask, SIGUSR1 );
assert( !status );
-
+
printf( "Task_3: sigwait SIGUSR1\n" );
status = sigwait( &mask, &sig );
-
+
/* switch to Init */
-
+
assert( !status );
printf( "Task_3: signo= %d\n", sig );
/* catch signal with pause */
-
+
empty_line();
status = sigemptyset( &mask );
assert( !status );
-
+
status = sigaddset( &mask, SIGUSR1 );
assert( !status );
-
+
printf( "Task_3: pause\n" );
status = pause( );
-
+
/* switch to Init */
-
+
assert( !(status==-1) );
printf( "Task_3: pause= %d\n", status );
-
+
/* send signal to Init task before it has pended for a signal */
@@ -104,7 +104,7 @@ void *Task_3(
status = pthread_kill( Init_id, SIGUSR2 );
assert( !status );
- printf( "Task_3: sleep so the Init task can reguest a signal\n" );
+ printf( "Task_3: sleep so the Init task can reguest a signal\n" );
status = sleep( 1 );
assert( !status );