summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2009-09-13 23:34:52 +0000
committerbernard.xiong <[email protected]>2009-09-13 23:34:52 +0000
commit4bd258ce7bf0ce2ccb4e015d52828494f73f740c (patch)
tree237314abbd87ee0c43451285fd42dc327a1c1aab /src
parent3bfe93e36597553c2a781aa4a65e348df8d53bfa (diff)
remove fast event
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@46 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src')
-rw-r--r--src/object.c29
1 files changed, 11 insertions, 18 deletions
diff --git a/src/object.c b/src/object.c
index d3c6828bd8..0655382350 100644
--- a/src/object.c
+++ b/src/object.c
@@ -38,7 +38,7 @@ void (*rt_object_put_hook)(struct rt_object* object);
/**
* This function will set a hook function, which will be invoked when object
* attaches to kernel object system.
- *
+ *
* @param hook the hook function
*/
void rt_object_attach_sethook(void (*hook)(struct rt_object* object))
@@ -49,7 +49,7 @@ void rt_object_attach_sethook(void (*hook)(struct rt_object* object))
/**
* This function will set a hook function, which will be invoked when object
* detaches from kernel object system.
- *
+ *
* @param hook the hook function
*/
void rt_object_detach_sethook(void (*hook)(struct rt_object* object))
@@ -60,14 +60,14 @@ void rt_object_detach_sethook(void (*hook)(struct rt_object* object))
/**
* This function will set a hook function, which will be invoked when object
* is taken from kernel object system.
- *
- * The object is taken means that
+ *
+ * The object is taken means that
* semaphore - semaphore is taken by thread
* mutex - mutex is taken by thread
- * event/fast event - event/fast event is received by thread
+ * event - event is received by thread
* mailbox - mail is received by thread
* message queue - message is received by thread
- *
+ *
* @param hook the hook function
*/
void rt_object_trytake_sethook(void (*hook)(struct rt_object* object))
@@ -78,15 +78,15 @@ void rt_object_trytake_sethook(void (*hook)(struct rt_object* object))
/**
* This function will set a hook function, which will be invoked when object
* have been taken from kernel object system.
- *
- * The object have been taken means that
+ *
+ * The object have been taken means that
* semaphore - semaphore have been taken by thread
* mutex - mutex have been taken by thread
- * event/fast event - event/fast event have been received by thread
+ * event - event have been received by thread
* mailbox - mail have been received by thread
* message queue - message have been received by thread
* timer - timer is started
- *
+ *
* @param hook the hook function
*/
void rt_object_take_sethook(void (*hook)(struct rt_object* object))
@@ -97,7 +97,7 @@ void rt_object_take_sethook(void (*hook)(struct rt_object* object))
/**
* This function will set a hook function, which will be invoked when object
* is put to kernel object system.
- *
+ *
* @param hook the hook function
*/
void rt_object_put_sethook(void (*hook)(struct rt_object* object))
@@ -142,13 +142,6 @@ void rt_system_object_init(void)
rt_object_container[RT_Object_Class_Mutex].type = RT_Object_Class_Mutex;
#endif
-#ifdef RT_USING_FASTEVENT
- /* init object container - fast event */
- rt_list_init(&(rt_object_container[RT_Object_Class_FastEvent].object_list));
- rt_object_container[RT_Object_Class_FastEvent].object_size = sizeof(struct rt_fast_event);
- rt_object_container[RT_Object_Class_FastEvent].type = RT_Object_Class_FastEvent;
-#endif
-
#ifdef RT_USING_EVENT
/* init object container - event */
rt_list_init(&(rt_object_container[RT_Object_Class_Event].object_list));