Changeset fb7d080 in rtems


Ignore:
Timestamp:
08/14/96 20:25:57 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
48e685c
Parents:
ac81b6ca
Message:

pthread_mutex_init returns EAGAIN not ENOMEM when there are too many mutexes.

Files:
2 edited

Legend:

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

    rac81b6ca rfb7d080  
    342342  assert( !status );
    343343
    344   puts( "Init: pthread_mutex_init - ENOMEM (too many)" );
     344  puts( "Init: pthread_mutex_init - EAGAIN (too many)" );
    345345  status = pthread_mutex_init( &Mutex3_id, &attr );
    346   assert( status == ENOMEM );
     346  assert( status == EAGAIN );
    347347
    348348  puts( "Init: pthread_mutexattr_destroy - SUCCESSFUL" );
  • testsuites/psxtests/psx05/init.c

    rac81b6ca rfb7d080  
    342342  assert( !status );
    343343
    344   puts( "Init: pthread_mutex_init - ENOMEM (too many)" );
     344  puts( "Init: pthread_mutex_init - EAGAIN (too many)" );
    345345  status = pthread_mutex_init( &Mutex3_id, &attr );
    346   assert( status == ENOMEM );
     346  assert( status == EAGAIN );
    347347
    348348  puts( "Init: pthread_mutexattr_destroy - SUCCESSFUL" );
Note: See TracChangeset for help on using the changeset viewer.