nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ OSAL_Wait_Mutex()

bool_t OSAL_Wait_Mutex ( OSAL_Mutex_t  Mutex,
unsigned long  Timeout 
)

Waits for ownership of a mutex.

Parameters
[in]MutexHandle to the mutex returned from OSAL_Create_Mutex().
[in]TimeoutValue in milliseconds to wait for the mutex or OSAL_TIMEOUT_INFINITE to wait forever.
Returns
TRUE upon success or FALSE upon failure.