all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Tamm <steventamm@mac.com>
Cc: emacs-devel@gnu.org
Subject: fork v vfork (was Re: Mac OS X: Rebuild Require after Security Update 2002-11-21)
Date: Tue, 26 Nov 2002 09:45:17 -0800	[thread overview]
Message-ID: <D32F94EE-0166-11D7-9286-00039390AB82@mac.com> (raw)
In-Reply-To: <m2smxogry1.fsf@owlbear.local>

I reported a bug with my test case.  It's not that big a deal, I just 
wanted to make sure that something was being done about it.  It's a 
fairly nasty bug if it hangs the system.  It would also make the 
compile a little cleaner.

WRT fork vs. vfork; on darwin the figures I've seen show a difference 
in performance about 100x, and has been getting worse in each release.

What are people's feelings about conditionalizing the three calls to 
vfork (in process.c, callproc.c, and sysdep.c) so that it could become 
fork() on platforms that don't have a working VFORK.  It would probably 
use the HAVE_VFORK conditional.

-Steven

On Tuesday, November 26, 2002, at 09:29  AM, Andrew Choi wrote:

> Steven Tamm <steventamm@mac.com> writes:
>
>> [...]  So I think the problem may be with vfork not correctly cleaning
>> up after itself if the process goes kablooy.  Andrew, did you report a
>> radar issue associated with this?
>
> Hi Steven,
>
> No.  The problem and fix were submitted by Nozomu Ando on
> emacs-pretest-bug a while ago.  I thought it was acceptable to just use
> fork so I left it at that.  I have not received reports of other
> problems related to this one.
>
> Would you like me to write a bug report to the darwin lists?  Seems 
> like
> they know about the problem with vfork but perhaps we can remind them.
>
> Andrew.
>

  reply	other threads:[~2002-11-26 17:45 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-23 16:04 Mac OS X: Rebuild Require after Security Update 2002-11-21 Andrew Choi
2002-11-23 23:49 ` Jason Rumney
2002-11-24 19:58   ` Andrew Choi
2002-11-24 21:03     ` Jason Rumney
2002-11-25 23:56       ` Steven Tamm
2002-11-26  0:18         ` Jason Rumney
2002-11-26  1:19         ` Andrew Choi
2002-11-26 14:53           ` Stefan Monnier
2002-11-26 16:31             ` Steven Tamm
2002-11-26 17:29               ` Andrew Choi
2002-11-26 17:45                 ` Steven Tamm [this message]
2002-11-24  6:13 ` Josh DuBois
2002-11-24 14:31   ` Hugo Wolf
2002-11-24 18:55     ` Josh DuBois
2002-11-24 20:15       ` Hugo Wolf
2002-11-24 21:29         ` Josh DuBois
2002-11-24 22:08           ` Hugo Wolf
2002-11-25  8:11             ` Josh DuBois
2002-11-28 17:48     ` Olle Pellijeff
2002-11-24 20:37 ` Steven Tamm
2002-11-24 21:58   ` Andrew Choi
2002-11-24 23:06     ` Steven Tamm
2002-11-25  4:49 ` Ker Lutyn
2002-11-25  5:02   ` Andrew Choi
2002-11-25  7:40 ` Thorbjørn Ravn Andersen
2002-11-25  8:10   ` Andrew Choi
2002-11-26 11:15   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D32F94EE-0166-11D7-9286-00039390AB82@mac.com \
    --to=steventamm@mac.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.