mirror of
https://github.com/holub/mame
synced 2025-06-07 21:33:45 +03:00
More fun with older OS X (nw)
This commit is contained in:
parent
acda6787a3
commit
da131139f2
@ -47,7 +47,7 @@ static void *Pt_CallbackProc(void *p)
|
|||||||
(thread_policy_t)&extendedPolicy,
|
(thread_policy_t)&extendedPolicy,
|
||||||
THREAD_EXTENDED_POLICY_COUNT);
|
THREAD_EXTENDED_POLICY_COUNT);
|
||||||
if (error != KERN_SUCCESS) {
|
if (error != KERN_SUCCESS) {
|
||||||
mach_error("Couldn't set thread timeshare policy", error);
|
mach_error((char *)"Couldn't set thread timeshare policy", error);
|
||||||
}
|
}
|
||||||
|
|
||||||
precedencePolicy.importance = THREAD_IMPORTANCE;
|
precedencePolicy.importance = THREAD_IMPORTANCE;
|
||||||
@ -55,7 +55,7 @@ static void *Pt_CallbackProc(void *p)
|
|||||||
(thread_policy_t)&precedencePolicy,
|
(thread_policy_t)&precedencePolicy,
|
||||||
THREAD_PRECEDENCE_POLICY_COUNT);
|
THREAD_PRECEDENCE_POLICY_COUNT);
|
||||||
if (error != KERN_SUCCESS) {
|
if (error != KERN_SUCCESS) {
|
||||||
mach_error("Couldn't set thread precedence policy", error);
|
mach_error((char *)"Couldn't set thread precedence policy", error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user