NamedSemaphoreUnlink(String) Method
Removes a named semaphore.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
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.