Internal Semaphore class
Inheritance Hierarchy
Cognex.VisionPro.QuickBuild.Implementation.Internal CogIOSemaphore
Namespace: Cognex.VisionPro.QuickBuild.Implementation.Internal
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
The CogIOSemaphore type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogIOSemaphore |
Default constructor
| |
| CogIOSemaphore(Int32) |
MaxCount constructor
| |
| CogIOSemaphore(Int32, Int32) |
Count constructor
|
Methods
| Name | Description | |
|---|---|---|
| Acquire |
Acquire an unit (if available) waiting around forever
| |
| Acquire(Int32) |
Acquire an unit (if available) waiting only for milliseconds
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Release |
Release a unit of the semaphore
| |
| Reset |
Reset, sets the count back to the initial value
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Count |
Get the current count
| |
| CountUnsafe |
Get the current count (unsafely, used for testing ONLY)
| |
| InitialCount |
Returns the initial count
| |
| MaxCount |
Returns the max count
|
See Also