[FIX] mutex protect the cond variable when signal in event thread.