mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
spinlock: Better recursive spinlock implementation.
This commit provided a better recursive spinlock implementation with less memory-overhead and better performance. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
0717928b0e
commit
d9bbdeb6fe
@@ -38,7 +38,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
extern struct rspinlock_s g_segger_lock;
|
||||
extern rspinlock_t g_segger_lock;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SEGGER_RTT_UNCACHED_OFF_VARIABLE
|
||||
|
||||
Reference in New Issue
Block a user