Describes a message object which can be sent between threads. More...
Describes a message object which can be sent between threads.
User can set type and one of content.ptr and content.value. (content is a union) The meaning of type and the content fields is totally up to the user, the corresponding fields are never read by the kernel.
#include <msg.h>
Data Fields | |
| kernel_pid_t | sender_pid | 
| PID of sending thread.  More... | |
| uint16_t | type | 
| Type field.  | |
| union { | |
| void * ptr | |
| Pointer content field.  | |
| uint32_t value | |
| Value content field.  | |
| } | content | 
| Content of the message.  | |
| kernel_pid_t msg_t::sender_pid |