We could also use the C++11 library to abstract us from the system instead of using pthread_ types and functions. Should we use std::condition and std::mutex? http://reviews.llvm.org/D7932 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/