12 Jan
                
                    2007
                
            
            
                12 Jan
                
                '07
                
            
            
            
        
    
                7:46 p.m.
            
        But just wait in threads is bad, because of spurious wake ups. It should be like while (!::we_can_start) g_some_cond.wait(condition_lock); and ::we_can_start = true; condition_lock.notify_all();