• 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
thread_policy_set() in 10.9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

thread_policy_set() in 10.9


  • Subject: thread_policy_set() in 10.9
  • From: Pierre-Emile Duhamel <email@hidden>
  • Date: Mon, 03 Nov 2014 11:36:15 -0500

Hello,

I am trying to use thread_policy_set() on 10.9.5 with Xcode 6.0.1 to
have a c command line tool run in real time.  The program is capturing
sensor data from hardware in real time, so I need it to meet timing
limits.

I am following the documentation in
https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/KernelProgramming/scheduler/scheduler.html

When I #include <mach/thread_policy.h>, the function is not found.
When I looked at usr/include/mach/thread_policy.h, the function
thread_policy_set() is commented out.

Has this been depreciated or is there a new/better way to have code
run in real time?  Thank you in advance for your help.

Thanks,
Pierre
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: thread_policy_set() in 10.9
      • From: Shantonu Sen <email@hidden>
  • Prev by Date: Re: 10.10 src
  • Next by Date: Re: thread_policy_set() in 10.9
  • Previous by thread: Re: 10.10 src
  • Next by thread: Re: thread_policy_set() in 10.9
  • Index(es):
    • Date
    • Thread