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: Benjamin Golinvaux <email@hidden>
- Date: Wed, 28 Aug 2002 16:02:18 +0200
But this is a really unusual thing to need to do. Why are you using MM
as an example in the first place? It doesn't even build out of the box
(need to comment out the #include <bsd/curses.h> in latency.h), has
tons of warnings, and generally does some very weird things.
Yes. I noticed this (#include <curses.h> works, but not #include
<bsd/curses.h>)
What may be tripping you up is the fact that it includes headers from
the Kernel framework:
#import <Kernel/mach/thread_policy.h>
Normal code should just use the ones in /usr/include, like this:
#include <mach/thread_policy.h>
Great ! It works when including <mach/***> instead of
<Kernel/mach/***>...... go figure !
I don't know why MM does it that way--the versions in Kernel.framework
are identical to the ones in /usr/include.
Maybe there is a calling convention issue.... (?)
Your suggestion solved my problem. I really appreciate it !
Benjamin-
_______________________________________________
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.