axl_bool valvula_mutex_destroy ( ValvulaMutex mutex_def)

Destroy the provided mutex, freeing the resources it might hold.

The mutex must be unlocked on entrance

mutex_defA reference to the mutex that must be deallocated its resources, and report the system to close it.
axl_true if the destroy operation was ok, otherwise axl_false is returned.

Referenced by valvula_async_queue_safe_unref(), valvula_async_queue_unref(), valvula_ctx_free2(), valvula_exit_ctx(), and valvula_hash_destroy().