summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-04-23 14:23:23 +0000
committerqiuyiuestc <[email protected]>2010-04-23 14:23:23 +0000
commitb87f6d562bef7a6893660789d66c3a1fab2c3736 (patch)
tree4e6d7a9c2becc9931e50da7721d1437aa73c852b /include
parentc4a21b445684bf39f39ece3e1a4d069ce5a08f41 (diff)
module developing
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@666 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 442f9ecd5d..f6c1db41f6 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -361,6 +361,10 @@ struct rt_thread
};
/*@}*/
+/* module clean types */
+#define RT_MODULE_FLAG_AUTO_CLEAN 0x01 /* auto clean */
+#define RT_MODULE_FLAG_MANUAL_CLEAN 0x02 /* manual clean */
+
#ifdef RT_USING_MODULE
struct rt_module
{