Semaphore Methods
Collapse the table of content
Expand the table of content

Semaphore Methods

 

Namespace:   System.Threading
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodClose()

Releases all resources held by the current WaitHandle.(Inherited from WaitHandle.)

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the WaitHandle class.(Inherited from WaitHandle.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetAccessControl()

Gets the access control security for a named system semaphore.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodSystem_CAPS_staticOpenExisting(String)

Opens the specified named semaphore, if it already exists.

System_CAPS_pubmethodSystem_CAPS_staticOpenExisting(String, SemaphoreRights)

Opens the specified named semaphore, if it already exists, with the desired security access.

System_CAPS_pubmethodRelease()

Exits the semaphore and returns the previous count.

System_CAPS_pubmethodRelease(Int32)

Exits the semaphore a specified number of times and returns the previous count.

System_CAPS_pubmethodSetAccessControl(SemaphoreSecurity)

Sets the access control security for a named system semaphore.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticTryOpenExisting(String, Semaphore)

Opens the specified named semaphore, if it already exists, and returns a value that indicates whether the operation succeeded.

System_CAPS_pubmethodSystem_CAPS_staticTryOpenExisting(String, SemaphoreRights, Semaphore)

Opens the specified named semaphore, if it already exists, with the desired security access, and returns a value that indicates whether the operation succeeded.

System_CAPS_pubmethodWaitOne()

Blocks the current thread until the current WaitHandle receives a signal.(Inherited from WaitHandle.)

System_CAPS_pubmethodWaitOne(Int32)

Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds.(Inherited from WaitHandle.)

System_CAPS_pubmethodWaitOne(Int32, Boolean)

Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval and specifying whether to exit the synchronization domain before the wait.(Inherited from WaitHandle.)

System_CAPS_pubmethodWaitOne(TimeSpan)

Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval.(Inherited from WaitHandle.)

System_CAPS_pubmethodWaitOne(TimeSpan, Boolean)

Blocks the current thread until the current instance receives a signal, using a TimeSpan to specify the time interval and specifying whether to exit the synchronization domain before the wait.(Inherited from WaitHandle.)

NameDescription
System_CAPS_pubmethodGetSafeWaitHandle()

Gets the safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.)

System_CAPS_pubmethodSetSafeWaitHandle(SafeWaitHandle)

Sets a safe handle for a native operating system wait handle. (Defined by WaitHandleExtensions.)

Return to top
Show:
© 2016 Microsoft