[Freedce-devel] pthread_clear_exit_np()
Christoph Hellwig
hch@lst.de
Tue Apr 25 21:05:00 GMT 2006
On Fri, Apr 21, 2006 at 05:26:44PM +0200, thomas.schuetzkowski@web.de wrote:
> Hi Luke,
>
>
> > To make this work with libc we need to "un-cancel" a thread.
> > ...
> > Of course, using this in a third-party application is problematic as it
> > depends on internal glibc structures.
> >
> > I know the chances of such an API being added to glibc are about nil, but
> > I thought I'd mention this anyway! :-)
>
> We thought about adding a detection of the glibc version to autoconf stuff and choose the right version of the function. (see Loic's patch)
> Then of course someone has to maintain this for every new version of glibc. :-(
>
> This idea was skipped, because no one had the time to do this.
Why do you think you really need glibc? Given how old dce legacy
codebases are you just need a basic libc with your threading model. You
could for example take uclibc as a library that is simple and supports
threading and hack draft 4 posix threads into them. no one forces you
to use glibc for your oddish broken legacy garbage.
More information about the Libc-alpha
mailing list