mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01: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…
x
Reference in New Issue
Block a user