PDA

View Full Version : using boost multithreading in a dll


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.

sirpalee
08-06-2009, 11:03 AM
The problem has been solved, maya's plugin architecture works perfectly with boost threading.

CGTalk Moderation
08-06-2009, 11:03 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.