IHostSemaphore Interface


Represents the host's implementation of a semaphore for threading.



IHostSemaphore::ReleaseSemaphore Method

Increases the count of the current IHostSemaphore instance by the specified amount.

IHostSemaphore::Wait Method

Causes the current IHostSemaphore instance to wait until it is owned or the specified amount of time elapses.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0