attempt to fix the OS X connect bug

This commit is contained in:
Jon Daniel 2005-08-08 21:58:01 +00:00
parent 8bd2e4d15d
commit e1a9ef76b9

View file

@ -307,8 +307,6 @@ void connect_operation::run()
return;
}
//no blocking operations from here on
const threading::lock l(get_mutex());
LOG_NW << "sent handshake...\n";
if(is_aborted()) {
@ -333,6 +331,7 @@ void connect_operation::run()
wassert(schemas.count(connect_) == 0);
schemas.insert(std::pair<network::connection,schema_pair>(connect_,schema_pair()));
const threading::lock l(get_mutex());
while(!notify_finished());
}