Revert "use cond_mutex to avoid broadcasting condition before it initialized"

This reverts commit ca2a84d5e0bdce309619400fd63558ffd15a093d.