parking_lot
parking_lot copied to clipboard
CondStack: a stack version of condvar
Sometimes it is necessary to have a stack of threads waiting on some condition. An example would be waiting on a condition to be true that each successive thread waits on as a different thread fixes a condition that it depends on.