SEM_reset
Application Program Interface
2-381
C Interface
Syntax
SEM_reset(sem, count);
Parameters
SEM_Handle sem;
/* semaphore object handle */
Int
count;
/* semaphore count */
Return Value
Void
Description
SEM_reset resets the semaphore count to count.
No task switch occurs when calling SEM_reset.
Constraints and
Calling Context
❏
count must be greater than or equal to 0.
❏
No tasks should be waiting on the semaphore when SEM_reset is
called.
❏
SEM_reset cannot be called by an HWI or a SWI.
See Also
SEM_reset
Reset semaphore count