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: libuv


Lots of project such as node.js or neovim are using libuv
(https://github.com/libuv/libuv) which is incompatible with Cygwin.
I've spent some time trying to build it, but I get issues with
pthread.

The first compilation error you'll get will look like "unknown type name
'pthread_barrier_t'" but that's actually pretty simple to work around
in libuv. The harder part is the lack of support in Cygwin for epoll,
inotify, and other async IO syscalls that libuv uses on unices. It might
be possible to graft together a build configuration for libuv on Cygwin
that uses WinAPI IOCP for the async parts but cygwin's posix layer for
the rest, but it would be quite a bit of work.

-Tony


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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