- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I seem to recall back when concurrent_priority_queue was first released I had a very serious bug which I think was caused by some behaviour where items of the same priority were not processed in fifo order, something I did not expect.
Is this still the case? Was it ever the case?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...Is this still the case?
Is there a TBB thread related to this?
>>Was it ever the case?
I remember a problem related to priorities with 'tbb::task::enqueue' and it looks like a solution was found. I will find that thread some time later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't remember if there was a thread related to it. It was quite a while back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>I remember a problem related to priorities with 'tbb::task::enqueue' and it looks like a solution was found. I will find that thread some
>>time later.
Here it is:
Forum topic: Tasks with priority execution order
Web-link: http://software.intel.com/en-us/forums/topic/280292
And two more TBB threads related to priorities:
Forum topic: Assigning a priority to a task/algorithm
Web-link: http://software.intel.com/en-us/forums/topic/279849
Forum topic: Problems with Enqueued Tasks in TBB v4.0 - Tasks Not Executed ( No Output )
Web-link: http://software.intel.com/en-us/forums/topic/280114
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume then that the order of elements of the same priority in a concurrent_priority_queue are indeed produced in a fifo order?

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