moonbridge
diff moonbridge_io.h @ 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 | 524bb61496b5 |
children | 86d9377cc615 |
line diff
1.1 --- a/moonbridge_io.h Mon Jun 12 13:57:38 2017 +0200 1.2 +++ b/moonbridge_io.h Mon Jun 12 15:28:33 2017 +0200 1.3 @@ -1,4 +1,5 @@ 1.4 1.5 +volatile sig_atomic_t moonbr_io_sigterm_flag; 1.6 void moonbr_io_pushhandle(lua_State *L, int fd); 1.7 void moonbr_io_closehandle(lua_State *L, int idx, int reset); 1.8 int moonbr_io_catch_sigterm(lua_State *L);