discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Re: pthreads / NT Threads under win32


From: Robert McGwier
Subject: Re: [Discuss-gnuradio] Re: pthreads / NT Threads under win32
Date: Thu, 05 Apr 2007 02:06:48 -0400
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

BUT, pthreads/win32 is available from cygwin. It compiles with mingw or msvc. To my mind, they have done a good job. Threading code that Brickle wrote ran immediately under pthreads/win32. There is some chance omnithreads would work using this.

Bob





Don Ward wrote:
Can any of you who build GNU Radio under MinGW or Cygwin please let me
know whether our omnithread implementation ends up using pthreads or
NT threads? You should be able to tell by looking at the output from running
configure.  If you see a message "checking for NT threads" it means we
didn't find pthreads.

GNU Radio uses pthreads on Cygwin, but uses NT threads on MSYS/MinGW.

Why I ask, is that I'm considering removing the support for NT
Threads in gr_omnithread.  If we did this, we could then take advantage
of the posix thread cancellation features, which aren't currently
available in the omnithread interface.

Could you elaborate on what you want to do?  Would we use pthreads
directly or would we still be using omnithread?  Should we find out
if Pthreads-win32 http://sourceware.org/pthreads-win32 can be used in
GNU Radio?  I would be happy to help if that is what is needed.

I prefer to use GNU Radio on MSYS/Mingw and am willing to put in some
effort to keep it running there.

-- Don Ward



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



--
AMSAT Director and VP Engineering. Member: ARRL, AMSAT-DL,
TAPR, Packrats, NJQRP, QRP ARCI, QCWA, FRC. ARRL SDR WG Chair
"Taking fun as simply fun and earnestness in earnest shows
how thoroughly thou none of the two discernest." - Piet Hine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]