CString causing problem in mulithreaded , multi processor environment
-
CString constructor or assingnment or serialization of CString causes the application crash in a multi-processor environment,(this happens in a heavily loaded condition when more than 500 threads are running) whereas it does not cause any problem in single processor environment.
-
CString constructor or assingnment or serialization of CString causes the application crash in a multi-processor environment,(this happens in a heavily loaded condition when more than 500 threads are running) whereas it does not cause any problem in single processor environment.
So what does that tell you...you've got synchronisation problems somewhere in your code - multiple threads accessing the string simultaneously. You don't see the erroneous behaviour in the single-processor system because a single-processor system doesn't have real concurrency. You will need to track down where the issue is. Good luck...'cause you're going to need it...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p