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:
Joel Sherrill
2009-03-12 15:32:09 +00:00
parent ed7383d2c7
commit d4311908c8
2 changed files with 10 additions and 1 deletions

View File

@@ -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

View File

@@ -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 */
}; };