WorkContext ReleaseWorkSemaphore Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Releases work semaphore that throttles the processing of WorkContext instances. The WorkContext is released automatically in destructor, however there are cases when the semaphore release may be needed sooner, i.e. in a HTTP streaming application where work context instances are kept open indefinitely it may not be desirable to consider long-living work context instances as a throtteling factor. Returns true if semaphore was released, false if it was not released during this call as it was already released before

Namespace: NFX.Wave
Assembly: NFX.Wave (in NFX.Wave.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public bool ReleaseWorkSemaphore()

Return Value

Type: OnlineBoolean
See Also