I know about the Semaphore
class in the System.Threading
namespace, but I don't see if it allows waiting threads to have different priorities levels.
If two threads are waiting for an open slot, is there a way to allow the thread with the higher priority to have the first open slot available?