mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1393/cpukit * posix/src/mutextranslatereturncode.c: Add entry to table for CORE_MUTEX_RELEASE_NOT_ORDER.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
PR 1393/cpukit
|
||||||
|
* posix/src/mutextranslatereturncode.c: Add entry to table for
|
||||||
|
CORE_MUTEX_RELEASE_NOT_ORDER.
|
||||||
|
|
||||||
2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1376/filesystem
|
PR 1376/filesystem
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* POSIX Mutex Error Translation
|
* POSIX Mutex Error Translation
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2009.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -39,6 +39,9 @@ static int _POSIX_Mutex_Return_codes[CORE_MUTEX_STATUS_LAST + 1] = {
|
|||||||
EPERM, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */
|
EPERM, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */
|
||||||
EINVAL, /* CORE_MUTEX_WAS_DELETED */
|
EINVAL, /* CORE_MUTEX_WAS_DELETED */
|
||||||
ETIMEDOUT, /* CORE_MUTEX_TIMEOUT */
|
ETIMEDOUT, /* CORE_MUTEX_TIMEOUT */
|
||||||
|
#ifdef __RTEMS_STRICT_ORDER_MUTEX__
|
||||||
|
EDEADLK, /* CORE_MUTEX_RELEASE_NOT_ORDER */
|
||||||
|
#endif
|
||||||
EINVAL /* CORE_MUTEX_STATUS_CEILING_VIOLATED */
|
EINVAL /* CORE_MUTEX_STATUS_CEILING_VIOLATED */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user