Where did mach_thread_self() go?
Where did mach_thread_self() go?
- Subject: Where did mach_thread_self() go?
- From: EJ Campbell <email@hidden>
- Date: Wed, 28 Aug 2002 12:20:31 -0700
I'm receiving a link error that 'mach_thread_self()' is undefined when
linking a Code Warrior 8 project on Mac OS X 10.2 GM. The same code
worked and linked fine on Mac OS X 10.1.
Where does 'mach_thread_self()' reside on Jaguar? Has anyone else ran
into this problem, and if so, how did you solve it? The reason I need
to use the call is that I want to set the priority of an MPTask, and
the easiest way to do it is from within the task with a call such as
this:
rv = thread_policy_set ( mach_thread_self(),
THREAD_TIME_CONSTRAINT_POLICY,
(thread_policy_t) &constraintPolicy,
THREAD_TIME_CONSTRAINT_POLICY_COUNT );
If mach_thread_self() has some how gone away, does anyone know of
another way to retrieve a pointer to an MPTask's underlying mach thread?
Thanks,
EJ
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.