Class IPvSemaphore
Interface for a semaphore object used for synchronization.
Implements
Inherited Members
Namespace: eBUSDotNetEdge
Assembly: eBUSDotNetEdge.dll
Syntax
public class IPvSemaphore : IDisposable
Constructors
View SourceIPvSemaphore()
Constructor
Declaration
public IPvSemaphore()
Fields
View SourceswigCMemOwn
Determines who is responsible for deleting the underlying C++ object.
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceAbort()
Aborts the semaphore.
Declaration
public virtual void Abort()
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~IPvSemaphore()
Destructor.
Declaration
protected ~IPvSemaphore()
Notify()
Notifies the semaphore.
Declaration
public virtual void Notify()
Reset()
Resets the semaphore to non-signaled state.
Declaration
public virtual void Reset()
Wait()
Waits for the semaphore to be notified.
Declaration
public virtual bool Wait()
Returns
| Type | Description |
|---|---|
| bool | true if the wait completed normally, false if it was aborted. |