On 21/05/2014 at 03:26, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15
Platform: Windows ;
Language(s) : C++ ;
---------
I took ScottA's thread example and added a second thread to it.
So, now I can start 2 threads and it looks good. Two progress counters.
However, on my Windows 7 with an i5 processor using the task manager, I do not see that extra threads are used when starting the second thread.
The first thread starts up 2 threads, but starting the 2nd, I do not see any significant increase of processor activity / threads.
Can I see which cinema 4d thread using which processor thread?
Do I need to do something extra, to enable cinema to use all threads?
E.g. do I need to use "class MPThreadPool"?
If so, is there an example I can learn from?
Some notes how I added the second thread in ScottA's example.
class MyDialog : public GeDialog
{
private:
MyThread th;
MyThread th2; //second thread
...
case standardBtn2: //The (regular style) start thread button
th2.Start();
...
-Pim