mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-14 02:02:39 +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 parent
8b3416f97e
commit
449ba1bb29
2 files changed
+9
-2
No files matched your search
@@ -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