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.

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

See Also<br />

Multiprocessor Considerations<br />

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

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

the semaphore.<br />

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

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

ready the task and give it the acquired semaphore token. Thus, an sm_v() call,<br />

whether it is to a local or remote semaphore, may cause pSOS+ activities on<br />

another node.<br />

Callable From<br />

■ Task.<br />

■ ISR, if semaphore is local to the node from which the sm_v() call is made.<br />

■ KI, if the semaphore is local to the node from which the sm_v() call is made.<br />

■ Callout, if the semaphore is local to the node from which the sm_v() call is<br />

made.<br />

sm_p<br />

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