Previous 199869 Revisions Next

r20253 Sunday 13th January, 2013 at 21:12:07 UTC by R. Belmont
More fun with older OS X (nw)
[src/lib/portmidi]ptmacosx_mach.c

trunk/src/lib/portmidi/ptmacosx_mach.c
r20252r20253
4747                        (thread_policy_t)&extendedPolicy,
4848                        THREAD_EXTENDED_POLICY_COUNT);
4949   if (error != KERN_SUCCESS) {
50      mach_error("Couldn't set thread timeshare policy", error);
50      mach_error((char *)"Couldn't set thread timeshare policy", error);
5151   }
5252
5353   precedencePolicy.importance = THREAD_IMPORTANCE;
r20252r20253
5555                        (thread_policy_t)&precedencePolicy,
5656                        THREAD_PRECEDENCE_POLICY_COUNT);
5757   if (error != KERN_SUCCESS) {
58      mach_error("Couldn't set thread precedence policy", error);
58      mach_error((char *)"Couldn't set thread precedence policy", error);
5959   }
6060
6161

Previous 199869 Revisions Next


© 1997-2024 The MAME Team