06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

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.

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

Notes<br />

See Also<br />

The calling task can be preempted as a result of this call.<br />

Multiprocessor Considerations<br />

1. If smid identifies a global semaphore residing on another processor node, the<br />

pSOS+ kernel internally makes an RSC to that remote node to release the<br />

semaphore.<br />

2. If the task awakened by this call does not reside on the local node, then the<br />

pSOS+m kernel internally alerts the task's node of residence, whose pSOS+m<br />

kernel will ready the task and give it the acquired semaphore token. Thus, an<br />

sm_v() call, whether it is to either the local or a remote semaphore, may cause<br />

pSOS+m activities on another processor node.<br />

Callable From<br />

■ Task<br />

sm_v, sm_p<br />

1-120 <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!