Functions | |
void | OS_RWLockInitialize (volatile OS_APIS_RW_LOCK_T *l) |
void | OS_RWLockDestroy (volatile OS_APIS_RW_LOCK_T *l) |
void | OS_RWLockAcquireWrite (volatile OS_APIS_RW_LOCK_T *lock) |
void | OS_RWLockReleaseWrite (volatile OS_APIS_RW_LOCK_T *lock) |
void | OS_RWLockAcquireRead (volatile OS_APIS_RW_LOCK_T *lock) |
void | OS_RWLockReleaseRead (volatile OS_APIS_RW_LOCK_T *lock) |
BOOL_T | OS_RWLockRelease (volatile OS_APIS_RW_LOCK_T *l) |
BOOL_T | OS_RWLockTryAcquireWrite (volatile OS_APIS_RW_LOCK_T *l) |
BOOL_T | OS_RWLockTryAcquireRead (volatile OS_APIS_RW_LOCK_T *l) |
|
Acquires the lock for reader. Blocks until the reader lock is acquired.
|
|
Acquires the lock for writer. Blocks until the writer lock is acquired.
|
|
Destroy a reader-writer lock, freeing all exhausted resources associated with the lock.
|
|
Initializes a reader-writer lock.
|
|
Releases the lock that was acquired. The lock kind that was acquired (whether its read or write) is determined by this function.
|
|
Releases the lock for reader.
|
|
Releases the lock for writer.
|
|
Tries to Acquire the lock for reader. This function returns immediately if the lock can't be acquired.
|
|
Tries to Acquire the lock for writer. This function returns immediately if the lock can't be acquired.
|