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:57:18 by Stephen R. van den Berg <srb@cuci.nl>
c198719d39153f9986178e2aa40e44f0b77191d8 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
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;