开放spinlock相关函数

This commit is contained in:
shaojinchun
2019-09-27 14:38:33 +08:00
parent 676279421f
commit cb07e5fb24
7 changed files with 148 additions and 3 deletions
+1
View File
@@ -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 */