bool ClientCursor::yield( int micros , Record * recordToLoad ) { // some cursors (geo@oct2011) don't support yielding if (!_c->supportYields()) { return true; } YieldData data; prepareToYield( data ); staticYield( micros , _ns , recordToLoad ); return ClientCursor::recoverFromYield( data ); }
bool ClientCursor::yield( int micros ) { if ( ! _c->supportYields() ) return true; YieldData data; prepareToYield( data ); staticYield( micros , _ns ); return ClientCursor::recoverFromYield( data ); }