|
Roberto Ierusalimschy:
Question to the list: How many libraries people know that use lua_resetthread?
At least the following eight: https://github.com/memcached/mcshredder/blob/5e16f3ecb29f33f08548b305f13c804d18d70df0/mcshredder.c#L540 https://github.com/louisliangjun/puss/blob/72ae4b36639fd558fc59d61a62bfc6880d27fdbf/puss_toolkit/async_service.c#L221 https://github.com/cyanreg/txproto/blob/6c5eccb9f57b054f1569f50e3f5e9f9b87505f95/src/lua_common.c#L67 https://github.com/STREGAsGate/Lua/blob/5dc3154c1d03f7a24259ae94a5d6c0a3d9619e4a/Sources/LuaC/lua_h.swift#L166 https://github.com/badlyby/K210-lua/blob/dcce5f9a98021a85304a615d44a1487c471a64aa/src/main.c#L71 https://github.com/swittk/react-native-lua/blob/3e474584dd4a51514f6a87a502018aa529159407/cpp/react-native-lua.cpp#L479 https://github.com/pllua/pllua/blob/cd7dda517f8778dfcf58b2918fec6443b21b0dc0/src/objects.c#L419 https://github.com/afsec/brickpack/blob/9750ad9edcc6a93e580414fb2aaaaa55dca2a5e4/vendor/mlua/src/thread.rs#L205