mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-27 01:30:00 +00:00
e7f5aae520
Marius found a race condition in the handling of SIGXCPU: the pipes would close, causing the read/write to complete, before the status of the process changed, so the status would randomly be "running" for a few milliseconds after proc_get_status() was called. So: terminate the process unconditionally after an I/O error. Get the exit status from proc_close(), since that's the only way to get the status of a terminated process while simultaneously waiting for it to exit. Also fix signal identification as in unmerged patch I57cdf8aa. Change-Id: I252ec046e82063a868c1094e81705cb5e847db92 |
||
---|---|---|
.. | ||
binaries | ||
lua_ulimit.sh | ||
LuaStandaloneEngine.php | ||
mw_main.lua | ||
MWServer.lua | ||
protocol.txt |