Pinning worker threads to cores

Pinning worker threads to cores

The TBB documentation has an example of how to use a scheduler observer to pin worker threads to HW resources:(

I downloaded TBB v4.1 update 1 (the source), but some functionality used by the example does not seem to be implemented (crucially set_thread_affinity). Is there a newer version of TBB that I need to get from somewhere to be able to use this functionality?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Substitute your specific environment's API (directly or indirectly).

Leave a Comment

Please sign in to add a comment. Not a member? Join today