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.

C<br />

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

RETURNS<br />

SEE ALSO<br />

A task ID, or ERROR if the task cannot be spawned.<br />

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

C<br />

sps( )<br />

NAME sps() – spawn a task with default parameters, and leave it suspended (*)<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

int sps<br />

(<br />

FUNCPTR func, /* function to call */<br />

int arg1, /* first of nine args to pass to spawned task */<br />

int arg2,<br />

int arg3,<br />

int arg4,<br />

int arg5,<br />

int arg6,<br />

int arg7,<br />

int arg8,<br />

int arg9<br />

)<br />

This command has the same effect as sp( ), except that the newly spawned task is<br />

immediately suspended.<br />

There is no target-resident version of sps( ).<br />

A task ID, or ERROR if the task cannot be spawned.<br />

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

sysResume( )<br />

NAME sysResume( ) – reset the agent to tasking mode (*)<br />

SYNOPSIS<br />

DESCRIPTION<br />

int sysResume (void)<br />

This command sets the agent to tasking mode and resumes the system. If the agent is<br />

already in tasking mode, sysResume( ) has no effect.<br />

415

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

Saved successfully!

Ooh no, something went wrong!