mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
Change the type of tg_joinlock, mm_lock and md_lock from sem_t to mutex_t
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
18266c1012
commit
e08c296a8e
@@ -35,6 +35,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/mutex.h>
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/signal.h>
|
||||
#include <nuttx/mm/iob.h>
|
||||
@@ -84,7 +85,7 @@ struct mac802154_chardevice_s
|
||||
{
|
||||
MACHANDLE md_mac; /* Saved binding to the mac layer */
|
||||
struct mac802154dev_callback_s md_cb; /* Callback information */
|
||||
sem_t md_lock; /* Exclusive device access */
|
||||
mutex_t md_lock; /* Exclusive device access */
|
||||
|
||||
/* Hold a list of events */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user