CogIOSemaphore ClassCognex VisionPro 9.25 SR1
Internal Semaphore class
Inheritance Hierarchy

System Object
  Cognex.VisionPro.QuickBuild.Implementation.Internal CogIOSemaphore

Namespace: Cognex.VisionPro.QuickBuild.Implementation.Internal
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 93.1.0.0 (93.1.0.0)
Syntax

public sealed class CogIOSemaphore

The CogIOSemaphore type exposes the following members.

Constructors

  NameDescription
Public methodCogIOSemaphore 
Default constructor
Public methodCogIOSemaphore(Int32)
MaxCount constructor
Public methodCogIOSemaphore(Int32, Int32)
Count constructor
Top
Methods

  NameDescription
Public methodAcquire 
Acquire an unit (if available) waiting around forever
Public methodAcquire(Int32)
Acquire an unit (if available) waiting only for milliseconds
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRelease
Release a unit of the semaphore
Public methodReset
Reset, sets the count back to the initial value
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyCount
Get the current count
Public propertyCountUnsafe
Get the current count (unsafely, used for testing ONLY)
Public propertyInitialCount
Returns the initial count
Public propertyMaxCount
Returns the max count
Top
See Also