Posts Tagged Threading
Semaphores in C#
Posted by Michael Bowersox in .NET, C# on January 16, 2011
A short while ago I had a need to limit simultaneous requests to a web service from a multi-threaded application to prevent timeouts. I learned about semaphores in school and knew this was the right approach, but I have never used one in a real-world application before. Luckily, the .NET framework makes it rather easy [...]