Fixes for OS X.
This commit is contained in:
parent
555eee8236
commit
faf14f5e5a
3 changed files with 5 additions and 16 deletions
|
@ -42,6 +42,10 @@ void Cpu::init()
|
|||
|
||||
void Cpu::setAffinity(int id, unsigned long mask)
|
||||
{
|
||||
if (id == -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
cpu_set_t set;
|
||||
CPU_ZERO(&set);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue