09-28-2015, 10:00 PM
You could change the __index metamethod in _G and other objects of the worker thread. If the thing the worker thread is trying to get is unsafe for multi threading then raise an error.
We'd have to make a list of all unsafe things like the whole cWorld class, cRoot:Get():GetWorld() and stuff
We'd have to make a list of all unsafe things like the whole cWorld class, cRoot:Get():GetWorld() and stuff