[core msg]
* updated documentation
This commit is contained in:
parent
d423176587
commit
1e0516fe73
@ -50,8 +50,8 @@ typedef struct msg {
|
|||||||
* @param target_pid PID of target thread
|
* @param target_pid PID of target thread
|
||||||
* @param block If true and receiver is not receive-blocked, function will block. If not, function returns.
|
* @param block If true and receiver is not receive-blocked, function will block. If not, function returns.
|
||||||
*
|
*
|
||||||
* @return 1 if sending was successfull
|
* @return 1 if sending was successfull (message delivered directly or to a queue)
|
||||||
* @return 0 if receiver is not waiting and block == false
|
* @return 0 if receiver is not waiting or has a full message queue and block == false
|
||||||
* @return -1 on error (invalid PID)
|
* @return -1 on error (invalid PID)
|
||||||
*/
|
*/
|
||||||
int msg_send(msg_t* m, unsigned int target_pid, bool block);
|
int msg_send(msg_t* m, unsigned int target_pid, bool block);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user