pike.git / lib / modules / Sql.pmod / pgsql_util.pmod

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:956:    if (_fetchlimit) {    array(Thread.MutexKey) reflock = ({ _fetchlimit = 0 });    for (;;) {    reflock[0] = lock;    lock = 0;    if (!_sendexecute(0, reflock)) {    PD("Status_command_complete retry closemux %O\n", _portalname);    lock = closemux->lock();    continue;    } +  break;    }    }    lock = 0; // Force release before acquiring next    lock = _ddescribemux->lock();    if (!statuscmdcomplete)    PT(_ddescribe->wait(lock));    }    if (this) // If object already destructed, skip the next call    trydelayederror(); // since you cannot call functions anymore    else