Re: thread_policy( ) and thread_policy_set( ) : where are those functions ?
Re: thread_policy( ) and thread_policy_set( ) : where are those functions ?
- Subject: Re: thread_policy( ) and thread_policy_set( ) : where are those functions ?
- From: Kurt Revis <email@hidden>
- Date: Wed, 28 Aug 2002 06:04:28 -0700
On Wednesday, August 28, 2002, at 05:10 AM, Benjamin Golinvaux wrote:
I'm trying to use the thread_policy and thread_policy_set functions, but
I can't find what I need to link with !
These are present in /usr/lib/libSystem.dylib. ('nm
/usr/lib/libSystem.dylib' will show you the symbols in there.) Normally
you don't do anything special to link against this library--the compiler
does it for you.
When I try to use Kernel.framework
You don't want to do this. Kernel.framework is not a framework that
applications can link against. It's just a convenient place to put
headers that are used for building kernel extensions.
Note that MillionMonkeys doesn't have the checkbox next to
Kernel.framework checked, so it doesn't actually try to link against
that framework. It's just there to make it easy for humans to read the
headers in that framework.
I've had a look at the MillionMonkeys code sample, but I can't find
what's different
in my own project... I've defined KERNEL_PRIVATE in the target settings
It looks like KERNEL_PRIVATE is only used in the file latency.h in
MillionMonkeys. It's not a general system thing, so it shouldn't apply
to your code.
Let's step back a bit. What error message are you seeing, exactly?
--
Kurt Revis
email@hidden
_______________________________________________
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.