nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ multithreading_lock_acquire()

int multithreading_lock_acquire ( k_timeout_t  timeout)

Try to take the lock with the specified blocking behavior.

This API call will be blocked for the time specified by timeout and then return error code.

Parameters
[in]timeoutTimeout value for the locking API.
Return values
0Success
-EBUSYReturned without waiting.
-EAGAINWaiting period timed out.