pthread_rwlock_unlock segfault!

Andre Goddard Rosa andre.goddard at gmail.com
Sun Nov 16 19:19:43 UTC 2008



On Thursday 04 September 2008 11:03:05 Gustavo Moreira wrote:
> I'm using uClibc 0.9.29, the rwlock struct is into Posix
> (shm_open/mmap) shared memory with PTHREAD_PROCESS_SHARED
> process-shared attribute.
> Four processes are using this rwlock concurrently, but curiously ever
> breaks here (see below).
> I added some additional information that I think will be helpful.
> uClibc was compiled with Thread library implementation (linuxthreads
> (stable/old))
> # HAS_NO_THREADS is not set
> UCLIBC_HAS_THREADS=y
> PTHREADS_DEBUG_SUPPORT=y
> LINUXTHREADS_OLD=y

I'm wondering how did he use shm_open with uClibc... Do you mind explaining
how?
As I see it's not included in uClibc... Did you implement an open/close
based function?
-- 
View this message in context: http://www.nabble.com/pthread_rwlock_unlock-segfault%21-tp19313943p20520236.html
Sent from the uClibc mailing list archive at Nabble.com.




More information about the uClibc mailing list