Cornelius Toole | 2 May 16:32

Re: PipeStreams (aka. generators)

The Windows NT Kernel is Posix compliant when using MS Windows
Services for Unix, so that includes Win XP (SP 1 or later) and Vista.
I believe this happened as a result of the US Federal government
requiring that all it's PCs be POSIX compliant.

On Fri, May 2, 2008 at 8:18 AM, Andrew Gaylard <ag@...> wrote:
> Hi Michael,
>
>
> On Fri, May 2, 2008 at 3:04 PM, Michael FIG <michael@...> wrote:
> >
> > The only downside I can see is that <ucontext.h> is not all that
> > common.
>
> A quick answer to your question: ucontext.h is part of the Single Unix
>  Specification, a superset of POSIX.1.  It is included in FreeBSD 5.2.1,
>  Linux 2.4.22, MacOS 10.3, and Solaris 9.  This is according to
>  "Advanced Programming in the Unix Environment" by Stevens and Rago,
>  second edition, p.30, a book I can recommend for answers to these
>  sorts of questions.
>
>
> > I don't know if something like it exists for Windows
> > (actually, NT Fibers could be abused to provide the same thing, I
> > think) or MacOS.  GNU Pth provides similar functionality, so it may be
> > possible to learn how to reimplement the context-switching features on
> > other platforms.
>
> Of course, this doesn't say anything about Windows.  So I wouldn't bet
>  the farm on it working under Windows...
>
> Andrew
>
>
> _______________________________________________
>  fonc mailing list
>  fonc@...
>  http://vpri.org/mailman/listinfo/fonc
>
>

--

-- 
Cornelius Toole, Jr.
Graduate Research Assistant
Louisiana State University
Center for Computation and Technology
mobile: 601.212.3045


Gmane