Lwt_pqueueFunctional priority queues (deprecated).
A priority queue maintains, in the abstract sense, a set of elements in order, and supports fast lookup and removal of the first (“minimum”) element. This is used in Lwt for organizing threads that are waiting for timeouts.
The priority queues in this module preserve “duplicates”: elements that compare equal in their order.
module type OrderedType = sig ... endSignature pairing an element type with an ordering function.
module type S = sig ... endSignature of priority queues.