Community
cancel
Showing results for 
Search instead for 
Did you mean: 
andysem
New Contributor III
68 Views

TBB thread initialization

Jump to solution
Is there a way to provide initialization and deinitialization code for the threads TBB creates? For instance, I'd like to run TBB tasks with COM context initialized, but that's not the only thing I'd like to have. Perhaps, there is a way to "provide" properly initialized threads to TBB scheduler somehow?

0 Kudos
1 Solution
RafSchietekat
Black Belt
68 Views

Have a look at task_scheduler_observer.

View solution in original post

2 Replies
RafSchietekat
Black Belt
69 Views

Have a look at task_scheduler_observer.

View solution in original post

andysem
New Contributor III
68 Views
Thanks, looks like it's what I need.
Reply