Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lua_sethook looks async safe. So all threads can be spawned without overhead. We'd only need a lock to make sure that the state is not lua_close'd.
lua_sethook
The text was updated successfully, but these errors were encountered:
The idea of this task is do not set hook when thread starts but do it only when the first invocation of thread:pause or thread:cancel occurs
thread:pause
thread:cancel
Sorry, something went wrong.
No branches or pull requests
lua_sethooklooks async safe.So all threads can be spawned without overhead.
We'd only need a lock to make sure that the state is not lua_close'd.
The text was updated successfully, but these errors were encountered: