Commit ac1e1f1
mpsl: Add multithread lock acquire prerequisite to unint header
The mpsl_lib_uninit() may not be called without the multithreading
lock acquired: MULTITHREADING_LOCK_ACQUIRE(). That could lead to
a race condition between uninit call and mpsl_low_prio_work_handler().
It is a user responsibility to call MULTITHREADING_LOCK_ACQUIRE()
before the mpsl_lib_uninit().
For example please see hci_driver_close().
Signed-off-by: Piotr Pryga <[email protected]>1 parent 05597d7 commit ac1e1f1
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
0 commit comments