svn commit: trunk/uClibc/libc/misc/pthread

Mike Frysinger vapier at gentoo.org
Tue Dec 6 04:46:13 UTC 2005


On Mon, Dec 05, 2005 at 08:42:47PM -0800, sjhill at uclibc.org wrote:
> --- trunk/uClibc/libc/misc/pthread/weaks.c	2005-12-06 04:24:56 UTC (rev 12685)
> +++ trunk/uClibc/libc/misc/pthread/weaks.c	2005-12-06 04:42:43 UTC (rev 12686)
> @@ -117,5 +117,10 @@
>  weak_alias (__pthread_return_0, __pthread_mutex_lock)
>  weak_alias (__pthread_return_0, __pthread_mutex_trylock)
>  weak_alias (__pthread_return_0, __pthread_mutex_unlock)
> +#ifdef __UCLIBC_HAS_THREADS_NATIVE__
> +weak_alias (__pthread_return_0, pthread_mutexattr_init)
> +weak_alias (__pthread_return_0, pthread_mutexattr_settype)
> +weak_alias (__pthread_return_0, pthread_mutexattr_destroy)
> +#endif

are these actually needed or are you just adding them for fun ? in
other words, will libc itself utilize these functions ?
-mike



More information about the uClibc mailing list