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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: From: "Tony Kelman" To: References: In-Reply-To: Subject: Re: libuv Date: Wed, 2 Dec 2015 11:47:42 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit 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