Changeset 42418a9 in rtems for testsuites/psxtests/psx08/init.c
- Timestamp:
- 08/07/96 22:00:57 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ecc912f4
- Parents:
- 84b03316
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/psxtests/psx08/init.c
r84b03316 r42418a9 33 33 printf( "Init's ID is 0x%08x\n", Init_id ); 34 34 35 puts( "Init: pthread_detach - ESRCH (invalid id)" ); 36 status = pthread_detach( -1 ); 37 assert( status == ESRCH ); 38 35 39 /* detach this thread */ 36 40 … … 48 52 assert( !status ); 49 53 54 puts( "Init: pthread_join - ESRCH (invalid id)" ); 55 status = pthread_join( -1, &return_pointer ); 56 assert( status == ESRCH ); 57 50 58 puts( "Init: pthread_join - SUCCESSFUL" ); 51 59 status = pthread_join( Task_id, &return_pointer ); 60 /* assert is below comment */ 52 61 53 62 /* switch to Task 1 */
Note: See TracChangeset
for help on using the changeset viewer.