help : mutex sharing between processes
Khem Raj
kraj at mvista.com
Sat Mar 8 13:04:21 PST 2008
On Mar 8, 2008, at 6:16 AM, vibi wrote:
> hello,
> i am trying to use sharing of mutex between processes on linux.
> i am using functions pthread_mutexattr_init followed by
> pthread_mutexattr_setpshared .
>
> in pc (kernel = 2.6.22.1,libpthread-2.5.so) it is running ok.
> but in arm-linux (kernel = 2.6.23.9,
> libuClibc-0.9.28.so,libpthread-0.9.28.so )
> i am getting error for pthread_mutexattr_setpshared function.
>
I dont think linuxthreads in uclibc has this. You can use uclibc-nptl
branch currently for sh/mips
or you can try buildroot to get arm nptl which should have the process
shared mutexes.
>
-Khem
More information about the uClibc
mailing list