summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-12-27 17:16:32 +0800
committerGitHub <[email protected]>2018-12-27 17:16:32 +0800
commit137ed381c72cd245ebba0db7dcfded45290440b5 (patch)
treee599243db66ec884633398cf2b7c9e40f2900d8e /include/rtdef.h
parent8bcfcd83391d418f2d85fc6caeaa00c73e087734 (diff)
parented9a558da979035c38fac68d715bfa3ea553822d (diff)
Merge pull request #2123 from jesven/fix_list_thread
修正list_thread关中断时间过长的问题
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index f4949c2dff..39deb47d9f 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -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. */