mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 05:41:40 +00:00
Add hardware_concurrency interface to llvm::thread (NFC)
Part of D15390. llvm-svn: 262677
This commit is contained in:
parent
f31dabc41a
commit
be253c0570
@ -57,6 +57,7 @@ struct thread {
|
||||
thread(const thread &) = delete;
|
||||
|
||||
void join() {}
|
||||
static unsigned hardware_concurrency() { return 1; };
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user