uClibc Digest, Vol 32, Issue 8
Lance Spaulding
lsjunk1 at cableone.net
Tue Mar 11 21:40:54 UTC 2008
uclibc-request at uclibc.org wrote:
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 8 Mar 2008 13:04:21 -0800
> From: Khem Raj <kraj at mvista.com>
> Subject: Re: help : mutex sharing between processes
> To: vibi_sreenivasan at cms.com
> Cc: uclibc at uclibc.org
> Message-ID: <BCD2D291-2916-4EBB-85B4-309205A2DFBA at mvista.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> 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
>
>
Hi Khem,
I'm also in need of process-shared semaphores but on an x86 platform. Is
there a branch with NPTL support for x86 somewhere? If so, do you have a
pointer?
Thanks in advance,
Lance
More information about the uClibc
mailing list