Re: signaling a non-realtime thread from a realtime one
Re: signaling a non-realtime thread from a realtime one
- Subject: Re: signaling a non-realtime thread from a realtime one
- From: Shantonu Sen <email@hidden>
- Date: Thu, 25 Oct 2012 16:25:56 -0700
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 <email@hidden> 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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden