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
commit 137ed381c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 602 additions and 343 deletions

File diff suppressed because it is too large Load Diff

View File

@ -367,7 +367,8 @@ typedef struct rt_object *rt_object_t; /**< Type for kernel obj
*/ */
enum rt_object_class_type 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_Semaphore, /**< The object is a semaphore. */
RT_Object_Class_Mutex, /**< The object is a mutex. */ RT_Object_Class_Mutex, /**< The object is a mutex. */
RT_Object_Class_Event, /**< The object is a event. */ RT_Object_Class_Event, /**< The object is a event. */