02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C<br />

<strong>Tornado</strong> Tools Reference<br />

If task is omitted or zero, the last task referenced is assumed. If addr0 is non-zero, the task<br />

begins stepping at the next instruction at or above addr0; if addr1 is non-zero, the task next<br />

suspends at the next instruction at or above addr1.<br />

If the agent is in system mode, the system context will be stepped. In this event, the task<br />

parameter is ignored.<br />

C<br />

RETURNS<br />

SEE ALSO<br />

OK, or ERROR if the task cannot be found or the task is not suspended.<br />

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

semPxShow( )<br />

NAME semPxShow( ) – show information about a POSIX semaphore (*)<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

STATUS semPxShow<br />

(<br />

sem_t semDesc /* POSIX semaphore to display */<br />

)<br />

This command displays the state of a POSIX semaphore.<br />

A summary of the state of a named semaphore is displayed as follows:<br />

Semaphore name<br />

: namedSem<br />

sem_open() count : 2<br />

Semaphore value : 0<br />

No. of blocked tasks : 1<br />

A summary of the state of an unnamed semaphore is displayed as follows:<br />

Semaphore value : 0<br />

No. of blocked tasks : 1<br />

OK or ERROR.<br />

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

409

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

Saved successfully!

Ooh no, something went wrong!