list_*时,提供对第一层object的原子保护
This commit is contained in:
parent
3f79a78393
commit
ed9a558da9
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. */
|
||||
|
|
Loading…
Reference in New Issue