diff options
| author | Bernard Xiong <[email protected]> | 2019-09-29 09:28:01 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-29 09:28:01 +0800 |
| commit | c07ebbc9d2c78fbc8c70639bf915949314088d8a (patch) | |
| tree | fd28c63d1055133d33563f4d146adfc551c6e04b /include/rtdef.h | |
| parent | 88ad2398e9d2a42da34ed57e2fbc6c53100339f7 (diff) | |
| parent | 71311b73ae3e6a91ca1e9b2b82ca11af2c5cb868 (diff) | |
Merge pull request #3111 from BernardXiong/spin_lock
Add spin lock API in Kernel
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 */ |
