delorie.com/archives/browse.cgi | search |
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=ZNv-bIQlCFNU9ULgBqwA:9 a=-08aREcqN9_8rxBPPsjK1AWQ6ncA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 |
Message-ID: | <48F01F0B.2080900@byu.net> |
Date: | Fri, 10 Oct 2008 21:35:39 -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> |
In-Reply-To: | <2cf50a010810101850jc21f80bi3c40c816635d8366@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 7:50 PM: > i'm naive when it comes to cygwin internals, but the obvious > similarity of posix_spawn to CreateProcess is seductive. can you give > me an example of one of the difficulties of implementing posix_spawn > in cygwin so i don't bother the list anymore? 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? Think about it - since cygwin provides the illusion of more signals than Windows, and POSIX requires the child process created by posix_spawn to change its signal mask according to the POSIX_SPAWN_SETSIGDEF flag, that means that you must create the child process in such a way that it knows the right set of cygwin signal masks it is inheriting. If cgf says it's hard (and he's the one that maintains signal and fork code), it's probably hard. - -- 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 iEYEARECAAYFAkjwHwkACgkQ84KuGfSFAYAJegCgtrFsk6fcCL5ZSyhUgCThYleJ sbgAn0iUW/LqCMvttPIboBUhAWDfcZ5R =2tpJ -----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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |