You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Priority queues are ubiquitous. I think it would make sense to have one here as it would be useful for scheduling, be it at an actual scheduler level or much higher, e.g. in event loop, which should prioritise user input over some compute.
There is a lot of literature. Probably a good place to start is the chapter on priority queues in The Art of Multiprocessor Programming.
The text was updated successfully, but these errors were encountered:
The above seems appealing - if its benchmarks are accurate, it seems to be more efficient then the lock-free skiplist-based prioqueue described in "The Art Of Multiprocessor Programming".
This implementation appears quite interesting but relies on double compare-and-set operations, which are not available in OCaml. While it would be possible to use kcas, in that case, the implementation would be more appropriately placed in kcas_data rather than here.
Work is currently in progress to implement a priority queue based on the skip-list implementation available in Saturn and the algorithm described in The Art Of Multiprocessor programming.
Priority queues are ubiquitous. I think it would make sense to have one here as it would be useful for scheduling, be it at an actual scheduler level or much higher, e.g. in event loop, which should prioritise user input over some compute.
There is a lot of literature. Probably a good place to start is the chapter on priority queues in The Art of Multiprocessor Programming.
The text was updated successfully, but these errors were encountered: