silc_mutex_unlock

SYNOPSIS

    void silc_mutex_unlock(SilcMutex mutex);

DESCRIPTION

Unlocks the mutex and thus releases it for another thread that may be waiting for the lock. If `mutex' is NULL this function has no effect.

NOTES

The caller must not call the silc_mutex_unlock for an unlocked mutex or mutex not locked by the current thread.