delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/11/00:22:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <2cf50a010810102121k669852f2s5860f3573b74f0f1@mail.gmail.com>
Date: Sat, 11 Oct 2008 15:21:55 +1100
From: "Jack Andrews" <effbiae AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: optimizing fork/exec in vendor source
In-Reply-To: <48F01F0B.2080900@byu.net>
MIME-Version: 1.0
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

eric wrote:
> 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.

ta, jack

--
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