diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-14 20:25:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-14 20:25:57 +0000 |
commit | fb7d080c981e42bc217ba725a6b89c432566bb28 (patch) | |
tree | 71d5dc56e42cc03d9bf45a3a899afbb2449ae6a3 /c | |
parent | added test cases for NULL being passed to pthread attribute get routines (diff) | |
download | rtems-fb7d080c981e42bc217ba725a6b89c432566bb28.tar.bz2 |
pthread_mutex_init returns EAGAIN not ENOMEM when there are too many mutexes.
Diffstat (limited to '')
-rw-r--r-- | c/src/tests/psxtests/psx05/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/tests/psxtests/psx05/init.c b/c/src/tests/psxtests/psx05/init.c index d8e7547c63..216451948c 100644 --- a/c/src/tests/psxtests/psx05/init.c +++ b/c/src/tests/psxtests/psx05/init.c @@ -341,9 +341,9 @@ void *POSIX_Init( printf( "status = %d\n", status ); assert( !status ); - puts( "Init: pthread_mutex_init - ENOMEM (too many)" ); + puts( "Init: pthread_mutex_init - EAGAIN (too many)" ); status = pthread_mutex_init( &Mutex3_id, &attr ); - assert( status == ENOMEM ); + assert( status == EAGAIN ); puts( "Init: pthread_mutexattr_destroy - SUCCESSFUL" ); status = pthread_mutexattr_destroy( &attr ); |