This is the mail archive of the libc-hacker@sourceware.cygnus.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]

Re: Fix typos, comments in <pthread.h>


Andreas Jaeger <aj@suse.de> writes:

> The problem is that those __pthread functions are exported via 
> linuxthreads/sysdeps/pthread/bits/libc-lock.h and malloc/thread-m.h.
> We could move those to a common include file but I don't see directly
> an elegant way.  

Outside the linuxthreads directory they are used only in libc-lock.h.
I don't really know what the best thing to do is which is why this
problem persists.

> Shouldn't we move the declarations to libc-lock.h and only install
> libc-lock.h for those systems that need it?

Seems to be ok.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

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