06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

as_send pSOS+ <strong>System</strong> <strong>Calls</strong><br />

Error Codes<br />

Notes<br />

See Also<br />

Hex Mnemonic Description<br />

0x05 ERR_OBJDEL Task has already been deleted.<br />

0x06 ERR_OBJID tid incorrect, validity check failed.<br />

0x07 ERR_OBJTYPE Object type doesn’t match object ID;<br />

failed validity check.<br />

0x3F ERR_NOASR Task has no valid ASR.<br />

1. When an ASR starts execution, all pending asynchronous signals (since its last<br />

invocation) are passed to it as an argument.<br />

2. as_send() does not trigger the ASR handler if signals is 0.<br />

Multiprocessor Considerations<br />

If tid identifies a global task that resides on another processor node, the pSOS+<br />

kernel internally makes a remote system call (RSC) to that remote node to send the<br />

asynchronous signal to the task.<br />

Callable From<br />

■ Task.<br />

■ ISR, if the targeted task is local to the node from which the as_send() call is<br />

made.<br />

■ KI, if the targeted task is local to the node from which the as_send() call is<br />

made.<br />

■ Callout, if the targeted task is local to the node from which the as_send() call<br />

is made.<br />

as_catch<br />

1-10 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

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

Saved successfully!

Ooh no, something went wrong!