Item NewMsgPort (uint32* signalMaskPtr)
NewMsgPort()
is used by the
DataStreamer kernel thread to create message ports for receiving signals
from other threads, such as acquisition or subscriber threads. Acquisition
threads use NewMsgPort()
to create message ports for
receiving signals regarding data streams (for example, a request to read a
specific sequence of stream data chunks).
The Portfolio kernel assigns each new message port a signal mask.
NewMsgPort()
calls GetMsgPortSignal()
directly
to assign this signal mask to signalMaskPtr
.
NewMsgPort()
calls CreateItem()
directly to
create the message port item.
signalMaskPtr
NULL
, the signal mask is not assigned.
CreateItem()
failed
CreateItem()
.
CreateItem
CreateMsgPort
DisposeDataStream