ThreadSafePriorityQueue Realization of thread safe priority queue with using mutexses and condition variable. Here are represented both variants: std::priority_queue as member of user class user class derived from std::priority queue