pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2016-02-17
2016-02-17 18:55:13 by Stephen R. van den Berg <srb@cuci.nl>
e7f7d17f262bad60bf50c9912629672422191fc2 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.1
pgsql: Protect against execution in destructed objects.
207:
final int read_cb(mixed id,mixed b) { PD("Read callback %O\n",(string)b); Thread.MutexKey lock=fillreadmux->lock();
-
if(procmsg)
-
procmsg=0,lock=0,Thread.Thread(id
(
)
)
;
+
if(procmsg
&&id
)
+
procmsg=0,lock=0,Thread.Thread(id);
else if(fillread) didreadcb=1, fillread.signal(); lock=0;