moonbridge
diff moonbridge_io.c @ 293:b355e259c81e
Do not reuse child workers that have been SIGTERM'ed
author | jbe |
---|---|
date | Mon Jun 12 15:28:33 2017 +0200 (2017-06-12) |
parents | 7c67bdf99cb5 |
children | 1eef86d3b925 |
line diff
1.1 --- a/moonbridge_io.c Mon Jun 12 13:57:38 2017 +0200 1.2 +++ b/moonbridge_io.c Mon Jun 12 15:28:33 2017 +0200 1.3 @@ -116,7 +116,7 @@ 1.4 pid_t pid; 1.5 } moonbr_io_child_t; 1.6 1.7 -static volatile sig_atomic_t moonbr_io_sigterm_flag = 0; 1.8 +volatile sig_atomic_t moonbr_io_sigterm_flag = 0; 1.9 1.10 static int moonbr_io_yield(lua_State *L) { 1.11 return lua_yield(L, lua_gettop(L));