This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix __fork


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  <jakub@redhat.com>
> 
> 	* 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,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]