- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I have 2 types of algorithms which I need to run concurrently. One type is very high priority and should be finished as soon as possible, while another type should ideally only fill in the cracks and be executed only when first high priory algorithm is not utilizing all the worker threads.
How do I achieve that with tbb and get usual tbb task stealing/worker thread sharing as it would do without any priorities? The only priority functionality I found was in task arena constructor, but if I create 2 task arenas, won't it create 2x more worker threads and I get cpu core over subscription ?
Thanks.
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page