pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql_util.pmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:2619:
} destruct(waitforauthready); c->purge(); }; } final void close() { throwdelayederror(this); { Thread.MutexKey lock;
-
if
(qportals && qportals->size())
-
catch
(
cancelquery(
)
)
;
+
while
(qportals && qportals->size())
+
sleep
(
0.1, 1
);
// Drain portal queue to completion
if (unnamedstatement) termlock = unnamedstatement->lock(1); if (c) // Prevent trivial backtraces c->close(); if (unnamedstatement) lock = unnamedstatement->lock(1); if (c) c->purge(); } destruct(waitforauthready);