tsan: support synchronization by means of linux aio
http://llvm-reviews.chandlerc.com/D2269