Feature #2550

synchronized priority_queue

Added by M. Goerlich almost 8 years ago. Updated almost 8 years ago.

Status:NewStart date:05/26/2016
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Threading
Target version:-

Description

It would be cool to have a priority_queue variant of the SynchronizedQueue<M>.

I didn't think this through but maybe the queue could be an argument on the constructor of the existing SynchronizedQueue<M>, defaulting to the std::queue.

History

#1 Updated by M. Goerlich almost 8 years ago

Okay that idea won't work that easily since queue and priority_queue have different names for the access of the first element.

#2 Updated by J. Wienke almost 8 years ago

What would be your use case for this?

#3 Updated by J. Wienke almost 8 years ago

  • Category set to Threading

Also available in: Atom PDF