Home |
RTKernel-32 Programming Manual Function RTKMailboxInfo |
Function RTKMailboxInfoRTKMailboxInfo writes a list of all currently existing mailboxes to a string buffer: void RTKMailboxInfo(char * Buffer, unsigned BufferLen); ParametersBufferPointer to the string to receive the list. BufferLenSpecifies the size of the buffer. It should have at least 120+n*60 bytes, where n is the number of currently existing mailboxes. RTKMailboxInfo will display the mailboxes's names, message size, slots, current number of messages and a list of all tasks waiting at the respective mailbox. RTKMailboxInfo is intended primarily for debugging purposes and contains no protection from mailboxes being added/deleted or threads being removed from the read or write queues while it executes. While the likelihood is extremely small, RTKMailboxInfo can fail if a mailboxes is delete or a thread is removed from a mailbox queue while RTKMailboxInfo executes.
|