delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/02/14:50:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=H1vFmBPkJPa5roDx
+eSKAWOOWBtWPsRufkkwovqjhb4Ermvqic8yRfnVlQ4+x7NfDIo/RduEuAJ1hVxq
XJ96MVvzM/tDWvT7QGlcL1CxZEGmw1wdDBrFxTAZDdhHjlvi7z90SPK1X6CtE2Rg
6imXHdgdxvo452TLSCug0kU00GQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; s=default; bh=rrEo8X11bvJU7GOTtZJXnL
N3iIU=; b=TWjrMer0lhYoUYDAcWhISCNdlHy1nViCupwtOsGGjM7M7xiCdQQDxG
p9uOwcIBOnBE6ZEtgTr2ZJzNYcRKQ5szZ4LtUDrO69ElC/TLKyINwRHl7E52xq26
lK6sQKXBA4AzmINPkcJ7dtTfYKUR9BVvdGtwTeZOTtzoqSd2moV9s=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_60,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2
X-HELO: BAY004-OMC1S25.hotmail.com
X-TMN: [78dCTx5dBtMwI79jIt1dnuuiA5HHQkFs]
Message-ID: <BAY169-DS3787671AB9BD9F7308CB6AA70E0@phx.gbl>
From: "Tony Kelman" <tony AT kelman DOT net>
To: <cygwin AT cygwin DOT com>
References: <CAA65N5xBP-GoC5MfYc7xvBFMLunCT8nP08NcPZmY4mNfgNm6+Q AT mail DOT gmail DOT com>
In-Reply-To: <CAA65N5xBP-GoC5MfYc7xvBFMLunCT8nP08NcPZmY4mNfgNm6+Q@mail.gmail.com>
Subject: Re: libuv
Date: Wed, 2 Dec 2015 11:47:42 -0800
MIME-Version: 1.0
X-IsSubscribed: yes

> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019