Once. An event is basically like a Boolean variable; SetEvent is pretty much the same as event = true; -- setting it to true if it's already true has no effect.
If you want something that keeps count, consider using a semaphore instead of an event.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more