M
Marcel Müller
Hi,
I seek for a standard solution for a priority queue with the following
properties:
- a limited and small number of priorities
(constructor argument or template parameter)
- multiple writers
- multiple readers
- insert O(1)
- remove O(1)
- support for dedicated high priority readers that only handle requests
up to a certain priority level
- support for rollback (for readers only)
std:riority_queue has O(log n) and therefore does not fit.
Marcel
I seek for a standard solution for a priority queue with the following
properties:
- a limited and small number of priorities
(constructor argument or template parameter)
- multiple writers
- multiple readers
- insert O(1)
- remove O(1)
- support for dedicated high priority readers that only handle requests
up to a certain priority level
- support for rollback (for readers only)
std:riority_queue has O(log n) and therefore does not fit.
Marcel