Use _Atomic type for socket.sending and socket.udpconnecting. See #1317

This commit is contained in:
Cloud Wu
2021-01-11 16:57:25 +08:00
parent c0e3421462
commit 1ed4fdf94d
4 changed files with 13 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ struct snlua {
size_t mem_report;
size_t mem_limit;
lua_State * activeL;
volatile ATOM_INT trap;
ATOM_INT trap;
};
// LUA_CACHELIB may defined in patched lua for shared proto