That builds a thread-safe priority queue. The DVR provides the locking for the four internal queues, and each internal queue is one priority. Three priorities are public. The Emergency priority is only available within the framework. Without the DVR layer, simultaneous enqueues at different priorities concurrent with dequeue do not work out consistently in all possible thread arrangements.