[sync] Added mutex_trylock function