Mutex owned and owner were not initialized by mutex_init. Combined owned and owner as they had no separate value any more
This commit is contained in:
committed by
Graham Sanderson
parent
e95df76a19
commit
90ce1faa14
@ -31,8 +31,7 @@ extern "C" {
|
||||
|
||||
typedef struct __packed_aligned mutex {
|
||||
lock_core_t core;
|
||||
bool owned;
|
||||
int8_t owner;
|
||||
int8_t owner; //! core number or -1 for unowned
|
||||
} mutex_t;
|
||||
|
||||
/*! \brief Initialise a mutex structure
|
||||
|
Reference in New Issue
Block a user