Add barrier to list of benchmarks built by default.
C and Java versions of rwlock benchmark.
JCAM version of rwlock. Seems a little slower than expected.
Try to make sure pthread mutex isn't optimised away.