mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-26 07:38:27 +08:00
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/inline/rtems/itron/semaphore.inl: THREAD_STATUS_PROXY_BLOCKING should only be defined in multiprocessing configurations.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* itron/inline/rtems/itron/semaphore.inl: THREAD_STATUS_PROXY_BLOCKING
|
||||
should only be defined in multiprocessing configurations.
|
||||
|
||||
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/include/rtems/posix/key.h: Remove redundant prototypes for
|
||||
|
||||
@@ -176,8 +176,10 @@ RTEMS_INLINE_ROUTINE ER _ITRON_Semaphore_Translate_core_semaphore_return_code (
|
||||
return E_TMOUT;
|
||||
case CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED:
|
||||
return E_QOVR;
|
||||
case THREAD_STATUS_PROXY_BLOCKING:
|
||||
return THREAD_STATUS_PROXY_BLOCKING;
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
case THREAD_STATUS_PROXY_BLOCKING:
|
||||
return THREAD_STATUS_PROXY_BLOCKING;
|
||||
#endif
|
||||
}
|
||||
return E_OK; /* unreached - only to remove warnings */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user