Changeset b970c48 in rtems


Ignore:
Timestamp:
Nov 2, 1999, 3:33:14 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3ba754e1
Parents:
d80188eb
Message:

Added a case to support the core semaphore error returned when the
maximum semaphore count is exceeded.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/src/semtranslatereturncode.c

    rd80188eb rb970c48  
    107107    case CORE_SEMAPHORE_TIMEOUT:
    108108      return RTEMS_TIMEOUT;
     109   
     110    /*
     111     *  An overflow should not occur in the Classic API.
     112     */
     113
     114    case CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED:
     115      return RTEMS_INTERNAL_ERROR;
     116
    109117    case THREAD_STATUS_PROXY_BLOCKING:
    110118      return THREAD_STATUS_PROXY_BLOCKING;
  • cpukit/rtems/src/semtranslatereturncode.c

    rd80188eb rb970c48  
    107107    case CORE_SEMAPHORE_TIMEOUT:
    108108      return RTEMS_TIMEOUT;
     109   
     110    /*
     111     *  An overflow should not occur in the Classic API.
     112     */
     113
     114    case CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED:
     115      return RTEMS_INTERNAL_ERROR;
     116
    109117    case THREAD_STATUS_PROXY_BLOCKING:
    110118      return THREAD_STATUS_PROXY_BLOCKING;
Note: See TracChangeset for help on using the changeset viewer.