| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-developers-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin-developers AT cygwin DOT com |
| Message-ID: | <3D59147D.3080605@hekimian.com> |
| Date: | Tue, 13 Aug 2002 10:15:25 -0400 |
| X-Sybari-Trust: | 9e89ea9a b923d9bf 4738785c 00000109 |
| From: | Joe Buehler <jbuehler AT hekimian DOT com> |
| Reply-To: | joseph DOT buehler AT spirentcom DOT com |
| Organization: | Spirent Communications |
| User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 |
| X-Accept-Language: | en-us, en |
| MIME-Version: | 1.0 |
| To: | Cygwin Developers <cygwin-developers AT cygwin DOT com> |
| Subject: | vfork / setsid interaction |
One of the problems in the GNU emacs port was an interaction between setsid() and vfork(). If I understand vfork() correctly, the pid does not change in the child. This causes setsid() to fail in the child if the parent is a process group leader. This was preventing emacs children from changing their controlling tty. I assume this is not "correct" behavior because this is the standard way that emacs does things on other platforms. Joe Buehler
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |