What POSIX semaphore? Are you talking about PThread condition variables? You can use the Mach semaphore functions in <mach/semaphore.h>, or better yet dispatch semaphores. Shantonu On Oct 25, 2012, at 3:19 PM, Joel Reymont <joelr1@gmail.com> wrote:
What is the best way to signal a non-realtime thread from a realtime one?
I'm loath to use a POSIX semaphore but maybe I should not be.
Thanks in advance, Joel
-------------------------------------------------------------------------- for hire: mac osx device driver ninja. kernel, usb and coreaudio drivers ---------------------+------------+--------------------------------------- http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont ---------------------+------------+--------------------------------------- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/ssen%40apple.com
This email sent to ssen@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com