NamedSemaphoreUnlink(String) Method
Removes a named semaphore.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static void Unlink(
string name
)
Public Shared Sub Unlink (
name As String
)
public:
static void Unlink(
String^ name
)
Gemstone.Threading.NamedSemaphore.Unlink = function(name);
Parameters
- name String
-
The unique name identifying the semaphore. This name is case-sensitive. Use a backslash (\\) to specify a
namespace, but avoid it elsewhere in the name. On Unix-based systems, the name should conform to valid file
naming conventions, excluding slashes except for an optional namespace backslash. The name length is limited
to 250 characters after any optional namespace.
On POSIX systems, calling this method removes the named semaphore referred to by name.
The semaphore name is removed immediately and is destroyed once all other processes that have the semaphore
open close it. Calling this method on Windows systems does nothing.