RtAcquireFastSemaphore
RtAcquireFastSemaphore places the thread into a busy wait state until the fast semaphore is released.
Syntax
BOOLEAN RtAcquireFastSemaphore(
PRTFAST_SEMPHORE pSemaphore
);
Parameters
pSemaphore
A pointer to a user allocated RTFAST_SEMAPHORE structure.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE.
To get any extended error information, call GetLastError.
Remarks
A fast semaphore provides signaling functionality without relying on the Process thread library. threads to wake up, resulting in shorter latency.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
RtssApi.h | rtkrnl.lib |
See Also