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?
>>2
Oh boy! That's a really neat feature! Unfortunately, I'd be very uncomfortable changing to another compiler. I guess I'll just have to wait until gcc gets ahead. In the meantime, any other suggestions?
So, I'm writing a single-threaded program in c++ with a couple hundred functions that all access a global object.
Looks like someone's rewriting Python in C++!
Wow. A thread I posted two years ago just happened to be on top of the front page on the same rare occasion that I happen to visit /prog/. Thanks for the memories >>8.