Add hardware_concurrency interface to llvm::thread (NFC)

Part of D15390.

llvm-svn: 262677
This commit is contained in:
Teresa Johnson 2016-03-04 00:25:54 +00:00
parent f31dabc41a
commit be253c0570

View File

@ -57,6 +57,7 @@ struct thread {
thread(const thread &) = delete;
void join() {}
static unsigned hardware_concurrency() { return 1; };
};
}