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_vident<br />

Notes<br />

See Also<br />

1. Internally, the pSOS+ kernel treats a queue name as a 32-bit integer. However,<br />

when the application calls the kernel through the pSOS+ C language API, it<br />

passes the queue name as a four-byte character array.<br />

2. The pSOS+ kernel does not check for duplicate queue names. If duplicate<br />

names exist, a q_vident() call can return the qid of any queue with the<br />

duplicate name.<br />

Multiprocessor Considerations<br />

1. q_vident() converts a queue's name to its qid using a search order<br />

determined by the node input parameter as described in <strong>pSO<strong>System</strong></strong> <strong>System</strong><br />

Concepts. Because queues created and exported by different nodes may not<br />

have unique names, the result of this binding may depend on the order in which<br />

the object tables are searched.<br />

2. If the master node's Global Object Table must be searched, the local kernel<br />

makes an q_vident() RSC to the master node.<br />

Callable From<br />

■ Task<br />

q_ident, q_vcreate<br />

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

1

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

Saved successfully!

Ooh no, something went wrong!