Fixed Mutex::trylock(), which was simply calling pthread_mutex_lock() rather than _trylock().