FreeMutex()

Syntax

FreeMutex(Mutex)
Description
Frees a mutex object and the memory it requires.

Parameters

Mutex The mutex to free.

Return value

None.

Remarks

The mutex object should be unlocked by the time it is freed and it may no longer be used after it was freed. To ensure this a mutex should only be freed after all threads that use it have either ended, or are otherwise sure not to use this mutex again.

See Also

CreateMutex()

Supported OS

All

<- CreateThread() - Thread Index - FreeSemaphore() ->