Name: Anonymous 2011-11-02 8:38
So, I'm writing a single-threaded program in c++ with a couple hundred functions that all access a global object. I now want to instantiate this program in multiple threads, that all access a designated copy of that object. Is there an easy way to do this, or do I have to rewrite the whole thing?