pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql.pike:569:
private void preplastmessage(mapping(string:string) msgresponse) { lastmessage=({ sprintf("%s %s:%s %s\n (%s:%s:%s)", msgresponse.S,msgresponse.C,msgresponse.P||"", msgresponse.M,msgresponse.F||"",msgresponse.R||"", msgresponse.L||"")}); } private void waitauthready() { if(waitforauthready) {
-
PD("%d Wait for auth ready %O\n",c?->socket&&c->socket->query_fd(),backtrace()[-2]);
+
PD("%d Wait for auth ready %O\n",
+
c?->socket&&c->socket->query_fd(),backtrace()[-2]);
Thread.MutexKey lock=_shortmux->lock(); catch(PT(waitforauthready->wait(lock))); lock=0; PD("%d Wait for auth ready released.\n",c?->socket&&c->socket->query_fd()); } } private inline mixed callout(function(mixed ...:void) f, float|int delay,mixed ... args) { return .pgsql_util.local_backend->call_out(f,delay,@args);