This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Weak pthread function
- To: roland at frob dot com (Roland McGrath)
- Subject: Re: Weak pthread function
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 4 Sep 1998 11:03:54 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> > libobjc.a uses pthread_key_create, pthread_create, pthread_setspecific,
> > thread_getspecific and pthread_mutex_trylock. We should provide them
> > in libc as weak functions.
>
> Why doesn't libobjc.a use them with weak externs and handle their absence?
Good idea. Someone should fix libobjc.a.
H.J.