Hi,

On Thu, Sep 15, 2011 at 3:58 PM, Jim Michaels <jmich...@yahoo.com> wrote:
>
> I may have made a mistake about seeing some pthreads in one compiler...
> found out native threads are threads given by the OS.
> so never mind.

Well, I don't know for sure (from experience, never used 'em), but
presumably pthreads means the POSIX threads API, which of course
Windows doesn't support natively. So any pthreads lib is most likely a
wrapper around that to easily support porting GNU (and similar Linux)
software to Windows.

Believe it or not, a lot of languages used to support "green" threads,
which meant light-weight and cooperative, not OS-native, so even
things like DOS/DJGPP used to work with such green threads back in the
day (Ruby 1.8.7 or old GNAT/DJGPP w/ FSU Pthreads e.g. EZ2LOAD or
JavaPC 1.1 in 1997). But it's not very efficient and less safe, I
guess??, so they all prefer native threads these days.

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to