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
TRUE if the function succeeds, FALSE if the function fails
To get any extended error information, call GetLastError().
Remarks
A fast semaphore provides signaling functionality without relying on the RTSS thread library. The result is shorter latency as use of this fast semaphore does not require the waking up of threads.
Requirements
Header |
|
Library | Rtx_Rtss.lib |
See Also