Re: Continuations/coroutines in UNIX98 standard
Avi Bryant <[email protected]> Mon, 7 Oct 2002 14:45:39 -0700 (PDT)
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 7 Oct 2002, Chris Double wrote: > On Mon, 7 Oct 2002 10:26:31 -0400 (EDT), "Neel Krishnaswami" > <[email protected]> said: > > > > I just did a little checking, and it turns out the Cygwin doesn't > > support this interface -- at least, it lacks the swapcontext() > > function. Some of the other Unix-on-Windows packages (like UWin or > > MKS) have it, which presumably means it's not imposssible to > > implement. Perhaps someone with a big Windows clue (Chris?) can > > comment on similar interfaces over there? > > Windows (from Win 98 and above) has Fibers which provide this > functionality. There's a convenient API for doing all the coroutine type > stuff. But these are only one-shot continuations, right? Is there any way to copy a Fiber? Avi