write CLMsgLoopManagerForLibevent