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

Re: Weak pthread function


> 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?
This seems like a slippery slope of defining stubs in libc for an arbitrary
number of functions from libpthreads.


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