Is there any difference between an AutoResetEvent and a Semaphore with maximumCount = 1?

Viewed 9924

I'm going through the following article:

http://www.albahari.com/threading

and I cannot get to realize the difference between an AutoResetEvent and a Semaphore initialized with maximumCount = 1. Just to see if I'm getting things right... is there any difference in these two constructs, given that usage?

Thanks!

5 Answers
Related