Added a case to support the core semaphore error returned when the

maximum semaphore count is exceeded.
This commit is contained in:
Joel Sherrill
1999-11-02 15:33:14 +00:00
parent d80188eb6f
commit b970c48963
2 changed files with 16 additions and 0 deletions

View File

@@ -106,6 +106,14 @@ rtems_status_code _Semaphore_Translate_core_semaphore_return_code (
return RTEMS_OBJECT_WAS_DELETED;
case CORE_SEMAPHORE_TIMEOUT:
return RTEMS_TIMEOUT;
/*
* An overflow should not occur in the Classic API.
*/
case CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED:
return RTEMS_INTERNAL_ERROR;
case THREAD_STATUS_PROXY_BLOCKING:
return THREAD_STATUS_PROXY_BLOCKING;
}