02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

msgQShow( )<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

msgQShow( ) – show information about a message queue<br />

STATUS msgQShow<br />

(<br />

MSG_Q_ID msgQId, /* message queue to display */<br />

int level /* 0 = summary, 1 = details */<br />

)<br />

This command displays the state and optionally the contents of a message queue.<br />

A summary of the state of the message queue is displayed as follows:<br />

Message Queue Id : 0x3f8c20<br />

Task Queuing : FIFO<br />

Message Byte Len : 150<br />

Messages Max : 50<br />

Messages Queued : 0<br />

Receivers Blocked : 1<br />

Send timeouts : 0<br />

Receive timeouts : 0<br />

If level is 1, then more detailed information will be displayed. If messages are queued, they<br />

will be displayed as follows:<br />

Messages queued:<br />

# local adrs len value<br />

1 0x3d7c0c 14 00 3c a1 e1 48 65 6c 6c 6f 31 00 ee ee ee<br />

*....Hello.....*<br />

If tasks are blocked on the queue, they will be displayed as follows:<br />

Receivers blocked:<br />

NAME TID PRI DELAY<br />

---------- -------- --- -----<br />

tExcTask 3fd678 0 21<br />

OK or ERROR.<br />

windsh, browse( ), <strong>Tornado</strong> User’s Guide: Shell<br />

404

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!