sirpalee
08-03-2009, 03:30 PM
Hi guys!
I'm trying to paralellize some calculation inside a command, without threading it takes ages to run (about 20 minutes), so I've tried to use boost threading. I'm launching multiple threads, the calculation is done right, but when I look at the task manager I got only 13% of cpu usage (8 core pc), and the calculation is the same, it takes 20 minutes to complete.
Can I use other threading functions than the MThreadPool inside a dll, or I need to rely on the maya multithreading functions? (I like the boost interface, and since it'll become a standard, I would like to use that)
regards, Pal.
I'm trying to paralellize some calculation inside a command, without threading it takes ages to run (about 20 minutes), so I've tried to use boost threading. I'm launching multiple threads, the calculation is done right, but when I look at the task manager I got only 13% of cpu usage (8 core pc), and the calculation is the same, it takes 20 minutes to complete.
Can I use other threading functions than the MThreadPool inside a dll, or I need to rely on the maya multithreading functions? (I like the boost interface, and since it'll become a standard, I would like to use that)
regards, Pal.
