• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mach_thread_policy() link error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: DLS/Soundfont Quality Setting?
  • Next by Date: audio input level
  • Previous by thread: Re: OMS, FreeMIDI and Carbon...
  • Next by thread: audio input level
  • Index(es):
    • Date
    • Thread