forked from Imagelibrary/rtems
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:
@@ -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>
|
2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||||
|
|
||||||
* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c:
|
* rtems/src/semtranslatereturncode.c, score/src/coremutexsurrender.c:
|
||||||
|
|||||||
@@ -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_NOT_OWNER_OF_RESOURCE, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */
|
||||||
RTEMS_OBJECT_WAS_DELETED, /* CORE_MUTEX_WAS_DELETED */
|
RTEMS_OBJECT_WAS_DELETED, /* CORE_MUTEX_WAS_DELETED */
|
||||||
RTEMS_TIMEOUT, /* CORE_MUTEX_TIMEOUT */
|
RTEMS_TIMEOUT, /* CORE_MUTEX_TIMEOUT */
|
||||||
#if !defined(__RTEMS_STRICT_ORDER_MUTEX__)
|
#if defined(__RTEMS_STRICT_ORDER_MUTEX__)
|
||||||
CORE_MUTEX_RELEASE_NOT_ORDER,
|
CORE_MUTEX_RELEASE_NOT_ORDER,
|
||||||
#endif
|
#endif
|
||||||
RTEMS_INVALID_PRIORITY /* CORE_MUTEX_STATUS_CEILING_VIOLATED */
|
RTEMS_INVALID_PRIORITY /* CORE_MUTEX_STATUS_CEILING_VIOLATED */
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
CORE_MUTEX_TIMEOUT,
|
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
|
/** This status indicates that a thread not release the mutex which has
|
||||||
* the priority inheritance property in a right order.
|
* the priority inheritance property in a right order.
|
||||||
*/
|
*/
|
||||||
@@ -197,7 +197,7 @@ typedef struct {
|
|||||||
} CORE_mutex_Attributes;
|
} CORE_mutex_Attributes;
|
||||||
|
|
||||||
#ifdef __RTEMS_STRICT_ORDER_MUTEX__
|
#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
|
* The following defines the control block used to manage lock chain of
|
||||||
* priority inheritance mutex.
|
* priority inheritance mutex.
|
||||||
|
|||||||
Reference in New Issue
Block a user