Mutex::destroy
Destroy Mutex
The Mutex class has been removed in pthreads v3.
&reftitle.description;
final
public
static
bool
Mutex::destroy
int
mutex
Destroying Mutex handles must be carried out explicitly by the programmer when they are finished with the Mutex handle.
&reftitle.parameters;
mutex
A handle returned by a previous call to Mutex::create.
The handle should not be locked by any Thread when Mutex::destroy is called.
&reftitle.returnvalues;
A boolean indication of success
&reftitle.examples;
Mutex Creation and Destruction
]]>
&example.outputs;