delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/11/08:40:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=hrSImO8NJtUA:10 a=xe8BsctaAAAA:8 a=EBdNQ9h6Or7aNsmsP_wA:9 a=rkcNPoZ9M3Bw-uZ4L2_2b-CTrTcA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10
Message-ID: <48F09E6F.1050901@byu.net>
Date: Sat, 11 Oct 2008 06:39:11 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: optimizing fork/exec in vendor source
References: <2cf50a010810092225q1d7190e6k8f8a4f152fce4de4 AT mail DOT gmail DOT com> <48EF48B2 DOT 8070603 AT byu DOT net> <2cf50a010810100626j74c804a4m6ce87dfc0f284505 AT mail DOT gmail DOT com> <20081010142640 DOT GB15821 AT ednor DOT casa DOT cgf DOT cx> <2cf50a010810101850jc21f80bi3c40c816635d8366 AT mail DOT gmail DOT com> <48F01F0B DOT 2080900 AT byu DOT net> <2cf50a010810102121k669852f2s5860f3573b74f0f1 AT mail DOT gmail DOT com>
In-Reply-To: <2cf50a010810102121k669852f2s5860f3573b74f0f1@mail.gmail.com>
X-IsSubscribed: yes
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jack Andrews on 10/10/2008 10:21 PM:
>> Exactly how do you propose to implement posix_spawnattr_setsigdefault
>> without understanding cygwin internals, and given the fact that native
>> Windows API is woefully lacking in sigset_t coding?
> 
> in the startup code for the new process, i'd call signal() (or
> similar) to set the default handler for each of the signals mentioned
> in the sigset_t.

And how do you propose to inject your startup code into non-cygwin
processes?  And are you sure you won't have any data races, where an
asynchronous signal won't spuriously wake up the child with the wrong
action before your startup code has completed?  Seriously - patches speak
louder than words.  If you mean to back up your claim that this is so
easy, then submit a patch already.  Without a patch, this conversation is
just a waste of time.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjwnm8ACgkQ84KuGfSFAYBE9QCdEfLzt7XuFr//qbcUAcDGeViH
+SQAoK87xL3TxdUwBAknx/B0gTltLAVr
=X2dd
-----END PGP SIGNATURE-----

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

- Raw text -


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