projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for more i2c devices.
[bertos.git]
/
bertos
/
kern
/
msg.h
diff --git
a/bertos/kern/msg.h
b/bertos/kern/msg.h
index 32232c56e018d3e2d487bddfb318fc840a50a96c..2d4672204827495cfef7953960de12067285be06 100644
(file)
--- a/
bertos/kern/msg.h
+++ b/
bertos/kern/msg.h
@@
-35,7
+35,6
@@
* This module implements a common system for executing
* a user defined action calling a hook function.
*
* This module implements a common system for executing
* a user defined action calling a hook function.
*
- * \version $Id$
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
@@
-67,6
+66,11
@@
* receiver wakes up, it usually invokes msg_get() to pick
* the next message from the port.
*
* receiver wakes up, it usually invokes msg_get() to pick
* the next message from the port.
*
+ * \note
+ * When you put a message into a port, such message becomes
+ * unavailable until you retrieve it using msg_get(), eg.
+ * you must not delete it or put it into another port.
+ *
* Message ports can hold any number of pending messages,
* and receivers usually process them in FIFO order.
* Other scheduling policies are possible, but not implemented
* Message ports can hold any number of pending messages,
* and receivers usually process them in FIFO order.
* Other scheduling policies are possible, but not implemented