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: optimizing fork/exec in vendor source


-----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@byu.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/


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