-
prcv_dtq
iprcv_dtq
-
Receive from data queue (polling).
ER prcv_dtq (ID dtqid, VP_INT *p_data);
ER iprcv_dtq (ID dtqid, VP_INT *p_data);
|
|
|
|
ID dtqid;
|
ID number of the data queue from which a data element is received.
|
|
VP_INT *p_data;
|
Data element received from the data queue.
|
These service calls read data in the data queue area of the data queue specified by parameter
dtqid and stores it to the area specified by parameter
p_data.
If no data could be read from the data queue area of the target data queue (no data has been written to the data queue area) when either of these service calls is issued, the service call does not read data but E_TMOUT is returned.
Note If no data could be read from the data queue area of the target data queue (no data has been written to the data queue area) when either of these service calls is issued, the contents in the area specified by parameter
p_data become undefined.
|
|
|
|
|
|
|
|
- dtqid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified data queue is not registered.
|
|
|
- No data exists in the target data queue.
|