This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is three any coroutine library works in cygwin?


On 04/30/2015 08:02 AM, echo wrote:
> My program is using coroutine(implemented with ucontext api) on linux, I
> am trying to port it to windows using cygwin. But I find out that cygwin
> doesn't support ucontext api, so is there any coroutine library works
> fine in cygwin?

The qemu project has several alternative implementations for coroutines
- in addition to ucontext, it provides sigaltstack, gthread, and win32
implementations.  Perhaps one of those can be used as a starting point
for your needs?  (see the coroutine-*.c files in
http://git.qemu.org/?p=qemu.git;a=tree)

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]