Changeset 9ac3e76 in rtems


Ignore:
Timestamp:
08/15/96 19:38:46 (26 years ago)
Author:
Mark Johannes <Mark.Johannes@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0600e86f
Parents:
7fb19bb
Message:

changed ENOMEM error message

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/mutex.c

    r7fb19bb r9ac3e76  
    223223  if ( attr ) the_attr = attr;
    224224  else        the_attr = &_POSIX_Mutex_Default_attributes;
     225
     226  /* XXX need to check for NULL mutex */
     227  /* XXX EBUSY if *mutex is a valid id */
    225228
    226229  if ( !the_attr->is_initialized )
     
    263266  if ( !the_mutex ) {
    264267    _Thread_Enable_dispatch();
    265     return ENOMEM;
     268    return EAGAIN;
    266269  }
    267270
  • cpukit/posix/src/mutex.c

    r7fb19bb r9ac3e76  
    223223  if ( attr ) the_attr = attr;
    224224  else        the_attr = &_POSIX_Mutex_Default_attributes;
     225
     226  /* XXX need to check for NULL mutex */
     227  /* XXX EBUSY if *mutex is a valid id */
    225228
    226229  if ( !the_attr->is_initialized )
     
    263266  if ( !the_mutex ) {
    264267    _Thread_Enable_dispatch();
    265     return ENOMEM;
     268    return EAGAIN;
    266269  }
    267270
Note: See TracChangeset for help on using the changeset viewer.