mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 01:28:23 +00:00
list_*时,提供对第一层object的原子保护
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -367,7 +367,8 @@ typedef struct rt_object *rt_object_t; /**< Type for kernel obj
|
||||
*/
|
||||
enum rt_object_class_type
|
||||
{
|
||||
RT_Object_Class_Thread = 0, /**< The object is a thread. */
|
||||
RT_Object_Class_Null = 0, /**< The object is not used. */
|
||||
RT_Object_Class_Thread, /**< The object is a thread. */
|
||||
RT_Object_Class_Semaphore, /**< The object is a semaphore. */
|
||||
RT_Object_Class_Mutex, /**< The object is a mutex. */
|
||||
RT_Object_Class_Event, /**< The object is a event. */
|
||||
|
||||
Reference in New Issue
Block a user