silc_mutex_trylock

SYNOPSIS

    SilcBool silc_mutex_trylock(SilcMutex mutex);

DESCRIPTION

Attempts to lock the `mutex'. Returns TRUE if the caller was able to acquire the lock and FALSE if the mutex is already locked. If the mutex is already locked the caller cannot acquire the lock at this time.