mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
开放spinlock相关函数
This commit is contained in:
@@ -172,6 +172,7 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread,
|
||||
/* lock init */
|
||||
thread->scheduler_lock_nest = 0;
|
||||
thread->cpus_lock_nest = 0;
|
||||
thread->critical_lock_nest = 0;
|
||||
#endif /*RT_USING_SMP*/
|
||||
|
||||
/* initialize cleanup function and user data */
|
||||
|
||||
Reference in New Issue
Block a user