![]() |
Home |
|
Function RTKCreateMailboxFunction RTKCreateMailbox creates and initializes a mailbox: RTKMailbox RTKCreateMailbox(unsigned DataLen, unsigned Slots, const char * Name); ParametersDataLenThe length of the mailboxes' messages in bytes. SlotsThe maximum number of messages the mailbox can store. NamePoints to the name of the mailbox. The name can be displayed by RTKTaskInfo, RTKMailboxInfo, and error messages. RTKernel-32 just copies the pointer to the name. Therefore, the name should not be modified after the mailbox has been created. RTKCreateMailbox allocates and initializes the mailbox. The return value is a reference to the new mailbox.
|