Re: mach_thread_policy() link error
Re: mach_thread_policy() link error
- Subject: Re: mach_thread_policy() link error
- From: Stephen Davis <email@hidden>
- Date: Fri, 28 Feb 2003 17:10:09 -0800
You are getting link errors b/c the compiler is assuming
mach_thread_policy() is a c++ function. The mach headers do not
properly guard themselves against c++ so you need to do something like
the following:
extern "C"
{
#include <mach/mach.h>
}
stephen
On Friday, February 28, 2003, at 04:45 PM, Roni Music wrote:
Hi,
This may have been discussed before?
Replacing the MPLibrary stuff with pthreads / mach_thread_policy()
using CodeWarrior 8.3
Mach-O application
C++
what framework/library is needed to link to
mach_thread_policy() ??
Thanks for any help
Rolf Nilssson
_______________________________________________
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.