documentation for the .NET class Semaphore states that:
There is no guaranteed order, such as FIFO or LIFO, in which blocked threads enter the semaphore.
In this case, if I need a guaranteed order (FIFO or LIFO), what are my options? Is it really impossible? Should I write my Semaphore? I guess this will be pretty advanced?
Thanks,
Steve
Steve whitfield
source share