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.

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

Notes<br />

See Also<br />

1. Message storage is returned to region 0. Hence the calling task can be<br />

preempted by a high priority task waiting for memory.<br />

2. The calling task can also be preempted after this call, if a task waiting at the<br />

deleted queue has higher priority.<br />

3. Any pending messages are lost.<br />

4. q_vdelete() deletes a variable length message queue. Use q_delete() to<br />

delete an ordinary queue.<br />

Multiprocessor Considerations<br />

If qid identifies a global queue, q_vdelete() will notify the master node so that<br />

the queue can be removed from its Global Object Table. Thus, deletion of a global<br />

queue always causes activity on the master node.<br />

Callable From<br />

■ Task<br />

q_delete, q_vcreate<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 1-95<br />

1

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

Saved successfully!

Ooh no, something went wrong!