nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
multithreading_lock.h File Reference

APIs for ensuring MPSL and BLE controller threadsafe operation. More...

#include <zephyr/kernel.h>

Go to the source code of this file.

Macros

#define MULTITHREADING_LOCK_ACQUIRE()    multithreading_lock_acquire(K_FOREVER)
 
#define MULTITHREADING_LOCK_ACQUIRE_NO_WAIT()    multithreading_lock_acquire(K_NO_WAIT)
 
#define MULTITHREADING_LOCK_ACQUIRE_FOREVER_WAIT()    multithreading_lock_acquire(K_FOREVER)
 
#define MULTITHREADING_LOCK_RELEASE()   multithreading_lock_release()
 

Functions

int multithreading_lock_acquire (k_timeout_t timeout)
 Try to take the lock with the specified blocking behavior.
 
void multithreading_lock_release (void)
 Unlock the lock.
 

Detailed Description

APIs for ensuring MPSL and BLE controller threadsafe operation.