modify part of CLMsgLoopManagerForLibevent.cpp