delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/20/08:51:02

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C1A3386F453
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1597927818;
bh=z7LRhSrI/WEur1yzD4w0+vzetNBinolra+0XSVHrJL0=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:Cc:From;
b=o6/vHhattYjujDHKqLSt1CySiTLj7IGazVF9M155qk02PTgqFj/moZHpccuu52nJt
AAOSh+5+GqWKTOk1ts7sTscz22R2kxjOo3/j52z60BxxNAhqiep6GocZZ5Ob3vBbcY
xpOhxPBgsXuUjQX5AnQUMC38EpSrTqEb5Q037Vwo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 93C8F3861830
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com
Date: Thu, 20 Aug 2020 14:50:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Peter Dons Tychsen <donpedro AT tdcadsl DOT dk>
Subject: Re: Synchronization problem with posix_spawn
Message-ID: <20200820125011.GR3272@calimero.vinschen.de>
Mail-Followup-To: Peter Dons Tychsen <donpedro AT tdcadsl DOT dk>, cygwin AT cygwin DOT com
References: <b1992e8b-d2e8-9c44-8f93-a270d5a879ed AT cornell DOT edu>
<864b3031-9fc8-beb3-ba7c-1ade4c31a288 AT cornell DOT edu>
<20200730115913 DOT GL4206 AT calimero DOT vinschen DOT de>
<20200730171723 DOT GA460314 AT calimero DOT vinschen DOT de>
<86051625-646d-065a-8543-1c3086411d3d AT cornell DOT edu>
<20200731081025 DOT GB460314 AT calimero DOT vinschen DOT de>
<9c44f4351d459a2ba8d27c65bf71679208cb13d6 DOT camel AT tdcadsl DOT dk>
<20200803105004 DOT GK460314 AT calimero DOT vinschen DOT de>
<1ae8de15bb74efb7207299d2dba92cdef88d9a94 DOT camel AT tdcadsl DOT dk>
MIME-Version: 1.0
In-Reply-To: <1ae8de15bb74efb7207299d2dba92cdef88d9a94.camel@tdcadsl.dk>
X-Provags-ID: V03:K1:WHoESDSlsuLe2DAfwBo/MQ1mUQKnO8RdHK45oXWT22DzHw5myP4
W05kd4k5j9dy2os50EVLd0SL4/0mVscBe8CjqAUHnUeE3Il+eQ7pnu/NllxX9seyU59Jr5g
/LoSHX3M9eAq56nALe5c2fKzOVdt7uh41moewwyVkPvEaOvJBfUlgZl9rnFXxbv3XOM42n9
tdbKRz6saV8tcvQ/Zu3mQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:XHdRdMEHyYg=:XtfMo/WDC1auZHIl9640Vc
ZAtMOfBS5yeOEDVdCkJ0gtRC4BOZ5QSDzBns2XZGLEh8S2PO0yIYrvDlaw0uccOe4z1WICfhN
Q1eD0Ej9SkOauP+Mt2M6v0x/ZY3EEg39lpDVNk4kz6+EAtarywglj3Sr3btS2MjmllpQt4s7+
aqxQqCubnOeTev9YXdAvmvKQbD3f2OK1PU/0TGQQ/VZKr4inLxpwODojzuzc9JPwTCO0o+jDl
pyAeZSXeiPBATNnwa/GPA6ZiGCrB+MBmDk83qWF6/Zu3VYU/sqBGrm6THWYDFhzPs531UG6Ve
/r2InNDJw3swW5IjOKxlbzXypbMk2feuIHeKslBtx0xmkhbrkIn3PES3stv9xSKdJ/Rlhhf8A
zQQ/LX2qdGC2bdUzheWEcxp4/w/BJe1M7RHNGu77jjXLObiR3leGGFkInbiHjLB2vg9ndI4pl
eZJNbeceEJsg9Huy8IP1qIKr4hSqQmrNSJECdtkinz8dXSRLHiPWRtCs5+QjfhJhalPXAQKel
AVLIKXJsWezQOeE5jhtTVyctb29UAf7WF17W4OIBSYalMdAnau8WgwgZYKKeps/ghuGYFk3hm
e29zv7qMnJ9KKhroW784VH+P5gcx1V/8d5LSPCXbNZu+P5P6zI5x7nYpz7EvCmHIShNtrXtih
pONAClATW3ZtNaJ+E+LuX6Z7UjesxYPLNXoiNxkRfdpK+QarkEDqiU7732JMTpd/L3yhkK+3J
xTh6l5ZHScNyw14DOiTRxQQ1VDlbcE91tm45yxp/p0rnB1mNGmK1KkpERoojtRgxAF0jIFNwA
kWq7kvN4l+IHqNxpg5FXOY+mmUllZV0kYeUanjy2UGWwWEFstLMRfNhioZsoCL1DjCIxTDnb3
hrj9GvmfX56SnWJp6DdA==
X-Spam-Status: No, score=-99.4 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Cc: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Aug 20 07:40, Peter Dons Tychsen via Cygwin wrote:
> Hi Corinna,
> 
> > spawn alone doesn't cut it, due to the requirement to support the
> > additional file actions and spawn atributes POSIX defines.  This
> > would require a revamp of Cygwin's spawn functionality, which is
> > already quite complicated.  So this is something I'm only willing
> > to do in homeopathic doses.
> 
> OK. I can see that most of the processing of the options are done
> seperately. We could to start with create a shortcut that calls
> spawn[vpe]() instead if there are no options specified? That would
> speed up most cases. Then we could add the extra cases later if needed.
> 
> Would that be an acceptable patch? 

No, it won't work as expected, as you can see from the discussion in
this thread.  Some internal work would be required.

> The reason i am pushing for this is that allot of developers i interact
> with get the feeling cygwin is slow.

Well, Cygwin *is* slow, given the fork/exec implementation.  We asked
Microsoft a lot if there's any chance to create a fork-alike working in
the Windows subsystem, but that ship has sailed.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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