This method
is the constructor for the OMTMMessageQueue class.
It allocates theQueue, the OMOSMessageQueue member
of OMTMMessageQueue, with a given size and the ability
to grow dynamically. In addition, it initializes the following:
- messageQueueSize—If not overridden,
the message queue size is initialized to the value of the static constant DefaultMessageQueueSize in OMOSThread.
- dynamicMessageQueue—If the default
value of TRUE is not overridden, the message queue
size is dynamic rather than fixed.
SignatureOMTMMessageQueue (const long messageQueueSize =
OMOSThread::DefaultMessageQueueSize,
OMBoolean dynamicMessageQueue = TRUE)
ParametersmessageQueueSize
The initial size of the queue
dynamicMessageQueue
A Boolean value that specifies whether
the queue is dynamic or fixed