Hi,
I'm still working on my mod, and i asking myself if i need to worry about accessing variable between my threads.
I currently wrote a thread (with ForkThread) that erase a datatable each 2s. This datatable is modified outside my thread. For now, i run my erasing thread only when the datatable is not being modified.
But i m asking if i need to worry myself, as it seems that lua is not really multithreaded capable. I've got no error when i access my datatable anywhere anytime by any of my thread.
Am i lucky, or is lua not really multithreading capable, or should i take care (i found no documentation about the ForkThread function) ?
Any idea ? It should reduce the time i need to develop my mod.