Skip to content

is luau state thread affined? #1628

Answered by vegorov-rbx
PonasKovas asked this question in Q&A
Discussion options

You must be logged in to vote

There is no state attached to an OS thread (no TLS for example), so it is completely safe to use the same lua_State from different OS threads at different points in time.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PonasKovas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants