[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Thread-Safe Blocking?
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Thread-Safe Blocking? |
Date: |
Tue, 13 Dec 2005 22:39:11 -0800 |
User-agent: |
Mutt/1.5.6i |
On Tue, Dec 13, 2005 at 03:19:34PM -0500, Michael Dickens wrote:
> In implementing gr-audio-osx, I've figured out (after much debugging)
> that 2 threads are conflicting (GR is 1 thread, CoreAudio is the
> other), and thus I need a semaphore or equivalent ... needs to be
> thread-safe. Does GR have a preference of what to use for this? Or
> is it OS- and programmer-dependent? Thanks! - MLD
>
> ps> gr-audio-osx -almost- works, excepting this one issue (as far as
> I have found). Once that's resolved, I'll do some internal testing
> at UND over the holidays to flush out any other issues. Look for a
> release sometime in early January.
We use the omnithread abstraction. This gives us a C++ friendly
interface to Posix (and NT) threads. See
gnuradio-core/doc/other/omnithread.pdf
Eric