The class PriorityThreadQueue provides a way to control execution of threads in a way that executes threads with high priority preferentially.
The Doxgyen documentation is here.
The class is completely defined in the header file PriorityThreadQueue.h .
The file PTQ.cpp runs a test of class PriorityThreadQueue. It prints verbose output, because the macro PTQVERBOSE is defined before the header file, PriorityTHreadQueue.h is included.
The file PTQ2.cpp runs a much larger test of class PriorityThreadQueue. It does not print verbose output