a message queue for inter thread communication.