no global static condvar and mutex