modify MSGqueue to spsc_queue