Merge pull request #2123 from jesven/fix_list_thread

修正list_thread关中断时间过长的问题
This commit is contained in:
Bernard Xiong
2018-12-27 17:16:32 +08:00
committed by GitHub
2 changed files with 602 additions and 343 deletions

View File

@@ -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. */