diff options
| author | shaojinchun <[email protected]> | 2019-09-26 18:13:07 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2019-09-27 14:38:33 +0800 |
| commit | cb07e5fb24afebdf233847da551d3ede80727345 (patch) | |
| tree | e1885e5a8925aefe3df70577416d4b4ddb698b5f /include/rtdef.h | |
| parent | 676279421feba8832f926a2e96b5e7dc7fdb0652 (diff) | |
开放spinlock相关函数
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index b25a6a87d5..3dc8a2a2a9 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -577,6 +577,7 @@ struct rt_thread rt_uint16_t scheduler_lock_nest; /**< scheduler lock count */ rt_uint16_t cpus_lock_nest; /**< cpus lock count */ + rt_uint16_t critical_lock_nest; /**< critical lock count */ #endif /*RT_USING_SMP*/ /* priority */ |
