09-09-2009 11:29 AM
I'm trying to use TBB in a plug-in for a closed-source app (Autodesk Maya) which itself uses TBB. When I create a task_scheduler_init and specify the thread count (only to check what happens to performance with different values), it doesn't seem to have any effect. I'm guessing this is because the host app has already created a scheduler. Is there a way to have my local scheduler instance temporarily override the other one, or discover the other scheduler instance (so I can terminate and later re-initialize it)?