Parallel thread safety (fun fun)

Mineko uminekorox at gmail.com
Fri Jan 31 13:33:48 PST 2014


So, I'm implementing some parallelism in my engine (maybe some 
concurrency where appropriate later), and I'm having some issues 
with thread safety, and synchronize ain't cutting it.

What I figure is that if I can get the IO class working within a 
parallel thread then everything else should fall in place, so, I 
need some help making the IO class thread-safe. (I'm new to 
thread safety btw, like, yesterday new >_>)

Relevent file here: 
https://github.com/MinekoRox/Breaker-Engine/blob/master/src/breaker/utility/io.d

Feel free to drop any other suggestions on what to do with that 
class if you want, always appreciated. :)


More information about the Digitalmars-d-learn mailing list