libopencm3/libopencm3 — pull request #374 by H2OBrain (2014-12-05 15:59:17+00:00)
Title: [sync.c] Added mutex_try_lock-function

should be clean.
The function works for me, but may be faulty, I just adapter the mutex_lock function to be non-blocking.