Changeset 5263668 in rtems


Ignore:
Timestamp:
08/12/96 14:49:02 (27 years ago)
Author:
Mark Johannes <Mark.Johannes@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0cd15947
Parents:
da4e38d
Message:

Init: added prliminary phtread_cond_init and destroy cases.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx10/init.c

    rda4e38d r5263668  
    2424  pthread_condattr_t  attr;
    2525  int                 pshared;
     26  pthread_cond_t      cond = PTHREAD_COND_INITIALIZER;
    2627
    2728  puts( "\n\n*** POSIX TEST 10 ***" );
     
    8081  printf( "Init: ID is 0x%08x\n", Init_id );
    8182
     83  puts( "Init: pthread_cond_init - NULL attr" );
     84  status = pthread_cond_init( &cond, NULL );
     85  assert( !status );
     86
     87  puts( "Init: pthread_cond_destroy" );
     88  status = pthread_cond_destroy( &cond );
     89  assert( !status );
     90
    8291  /* create a thread */
    8392
  • testsuites/psxtests/psx10/init.c

    rda4e38d r5263668  
    2424  pthread_condattr_t  attr;
    2525  int                 pshared;
     26  pthread_cond_t      cond = PTHREAD_COND_INITIALIZER;
    2627
    2728  puts( "\n\n*** POSIX TEST 10 ***" );
     
    8081  printf( "Init: ID is 0x%08x\n", Init_id );
    8182
     83  puts( "Init: pthread_cond_init - NULL attr" );
     84  status = pthread_cond_init( &cond, NULL );
     85  assert( !status );
     86
     87  puts( "Init: pthread_cond_destroy" );
     88  status = pthread_cond_destroy( &cond );
     89  assert( !status );
     90
    8291  /* create a thread */
    8392
Note: See TracChangeset for help on using the changeset viewer.