Clean up Mutex a little and add the missing pieces for Mac OS.

This -- as you'd expect, given that we're fine on bionic and glibc --
didn't find any bugs. But it's another step towards completeness and
lets me rule out Mac pthread_mutex_t weirdness as a potential cause of
our Mac dex2oat crashes.

Change-Id: If3f4aacf8dbc7c7b9fd6b8932bc01616ccf86b47
4 files changed
tree: 99c89626bda53f5c4e6654a467f0494d582064e3
  1. build/
  2. jdwpspy/
  3. src/
  4. test/
  5. tools/
  6. .gitignore
  7. Android.mk