Boolean PollForMsg (Item msgPortItem, Item* msgItemPtr, Message**
pMsgPtr, void** pMsgDataPtr, int32 *status)
PollForMsg()
is
used by the DataStreamer kernel thread and acquisition threads to poll for
messages sent to them.
PollForMsg()
calls GetMsg()
to retrieve the
message and then LookupItem()
to find the pointer to the
message. PollForMsg()
returns immediately whether or not a is
message waiting at the specified message port.
msgPortItem
msgItemPtr
NULL
, no pointer is assigned.
pMsgPtr
NULL
, no
pointer is assigned.
pMsgDataPtr
NULL
, no pointer is assigned.
status
PollForMsg()
assigns status a value of zero if there were no
errors.
TRUE
FALSE
GetMsg()
or LookupItem()
failed
GetMsg()
or
LookupItem()
.
GetMsg,
GetThisMsg,
ReplyMsg,
ReplySmallMsg,
SetSCelMemoryFcns