This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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

Fwd: Re: Can someone here consider wrapping the futex system calls?


--- Begin Message ---
This is a different case. I need FUTEX_WAIT to be cancellable so I can kill
threads that use it. As such GLibc needs to wrap the system call. Other than
wrapping cancellable system calls I have no opinion on the matter.

----- Original Message -----
From: Joseph Myers <joseph@codesourcery.com>
Date: Saturday, January 24, 2015 2:47 pm
Subject: Re: Can someone here consider wrapping the futex system calls?
To: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Cc: libc-alpha@sourceware.org

> On Sat, 24 Jan 2015, Steven Stewart-Gallus wrote:
> 
> > Hello,
> > 
> > I don't really have a problem with wrapping futex system calls 
> myself but I need
> > cancellable system calls so GLibc has to do it (unfortunately, 
> FUTEX_FD which
> > could allow workarounds never worked and was removed). Can 
> someone here consider
> > wrapping the futex system calls so I can cancel FUTEX_WAIT?
> 
> Please join in the discussion of principles for when there should 
> be 
> wrappers for a system call, and work on driving that discussion to 
> consensus (e.g. seeking further views, analysing the common ground 
> between 
> views expressed, looking at issues with different approaches for 
> system 
> call wrappers, looking at how different suggestions from the 
> discussion 
> would handle various existing system calls that currently lack 
> wrappers 
> (or for that matter, those that currently have wrappers)).
> 
> See various references from 
> <https://sourceware.org/ml/libc-alpha/2015-01/msg00315.html>.
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com
> 

--- End Message ---

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