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 330c5a60c7
commit a3135be77d
1 changed files with 1 additions and 0 deletions

View File

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