From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16283 invoked by alias); 20 Jun 2002 22:46:14 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 16168 invoked from network); 20 Jun 2002 22:46:12 -0000 Received: from unknown (HELO myware.mynet) (24.221.190.179) by sources.redhat.com with SMTP; 20 Jun 2002 22:46:12 -0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by myware.mynet (8.12.3/8.12.3) with ESMTP id g5KMk9DH018479; Thu, 20 Jun 2002 15:46:09 -0700 Subject: Re: [PATCH] Fix __fork From: Ulrich Drepper To: Jakub Jelinek Cc: Glibc hackers In-Reply-To: <20020619000118.B20867@sunsite.ms.mff.cuni.cz> References: <20020619000118.B20867@sunsite.ms.mff.cuni.cz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-bmNne7yUP+4rQzl6rYTV" Date: Thu, 20 Jun 2002 15:46:00 -0000 Message-Id: <1024613169.2240.30.camel@myware.mynet> Mime-Version: 1.0 X-SW-Source: 2002-06/txt/msg00029.txt.bz2 --=-bmNne7yUP+4rQzl6rYTV Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1245 On Tue, 2002-06-18 at 15:01, Jakub Jelinek wrote: > I wonder if read, write, open, close, sendto, recvfrom, select, etc. > (and their __* counterparts) called from glibc don't have to go to > libpthread too, because otherwise if they block they will not be > cancellation points. No, that's fine. All functions which internally might be using any of these functions are *possible* cancellation points. Nothing wrong with not doing this. It was a deliberate change to not allow cancellation anymore. > 2002-06-18 Jakub Jelinek >=20 > * include/unistd.h (__fork_internal): Remove. > (__fork): Don't define to __fork_internal. > * sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF. > * sysdeps/unix/sysv/aix/fork.c (__fork): Likewise. > * sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove > alias. > * sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise. > * sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise. I've applied this patch now. Thanks, --=20 ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------ --=-bmNne7yUP+4rQzl6rYTV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA9Elsx2ijCOnn/RHQRAsGPAJ0cNYQnmAdJ9BUdQeVGvAlg15GaXgCgxRYY 0qFzM3cT4vl9Z5k4q4yL2W8= =oqdj -----END PGP SIGNATURE----- --=-bmNne7yUP+4rQzl6rYTV--