When I had forgotten a global var in my code, with ORC, I had weird problems 
that didn't show an error that related to the global var. When I removed it the 
problems went away. So, I'd say, don't do it.

It's safer to send data over channels, and it's quite quick. So you could put 
your table in a thread that owns it, and other threads send read requests to 
that thread, and get data back via channels.

It seems like overkill, but apparently this is the best known method of safely 
sharing data between threads in Nim.

Reply via email to