Tries to gain shared ownership of the mutex and returns false, if another thread already owns the mutex, exclusively or not.