[DiscordArchive] Not necessarily. Have you heard about APIs like poll etc?
[DiscordArchive] Not necessarily. Have you heard about APIs like poll etc?
Archived author: Foe • Posted: 2024-07-17T19:55:50.475000+00:00
Original source
ie. async from the main thread
Archived author: chipzz • Posted: 2024-07-17T19:56:14.102000+00:00
Original source
You'll need some kind of lock around your script cache then
Archived author: Foe • Posted: 2024-07-17T19:57:52.260000+00:00
Original source
What I have implemented is a state based system where the state itself is an atomic variable, from my understanding that should be good enough to not have to use a mutex
Archived author: chipzz • Posted: 2024-07-17T19:58:01.117000+00:00
Original source
Also how are you going to handle your lua_State?
Archived author: chipzz • Posted: 2024-07-17T19:58:16.658000+00:00
Original source
I don't think it is thread-safe