2011-02-14 Joel Sherrill <joel.sherrill@oarcorp.com>

* rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h: Returns tests to running
	state.
This commit is contained in:
Joel Sherrill
2011-02-15 02:31:05 +00:00
parent ecc59b9ee2
commit eed0ffceb4
3 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2011-02-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/semtranslatereturncode.c,
score/include/rtems/score/coremutex.h: Returns tests to running
state.
2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c:

View File

@@ -70,7 +70,7 @@ const rtems_status_code _Semaphore_Translate_core_mutex_return_code_[] = {
RTEMS_NOT_OWNER_OF_RESOURCE, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */
RTEMS_OBJECT_WAS_DELETED, /* CORE_MUTEX_WAS_DELETED */
RTEMS_TIMEOUT, /* CORE_MUTEX_TIMEOUT */
#if !defined(__RTEMS_STRICT_ORDER_MUTEX__)
#if defined(__RTEMS_STRICT_ORDER_MUTEX__)
CORE_MUTEX_RELEASE_NOT_ORDER,
#endif
RTEMS_INVALID_PRIORITY /* CORE_MUTEX_STATUS_CEILING_VIOLATED */

View File

@@ -105,7 +105,7 @@ typedef enum {
*/
CORE_MUTEX_TIMEOUT,
#if !defined(__RTEMS_STRICT_ORDER_MUTEX__)
#if defined(__RTEMS_STRICT_ORDER_MUTEX__)
/** This status indicates that a thread not release the mutex which has
* the priority inheritance property in a right order.
*/
@@ -197,7 +197,7 @@ typedef struct {
} CORE_mutex_Attributes;
#ifdef __RTEMS_STRICT_ORDER_MUTEX__
/*@beief Core Mutex Lock_Chain Struct
/*@brief Core Mutex Lock_Chain Struct
*
* The following defines the control block used to manage lock chain of
* priority inheritance mutex.