dvyukov added a comment. Why do tests timeout if there is a sleeping thread present? Do they deadlock? If anything, I would expect that a spinning thread will make situation worse on an overloaded machine. http://reviews.llvm.org/D18476