msgqueue operation