Re: extend gthr-posix.h with rwlock

2008-06-05 Thread Luke Dalessandro
David Edelsohn wrote: Luke Dalessandro writes: Luke> Thank you, this was indeed the problem. I added the needed stubbs in Luke> gthr-single.h and it now compiles fine. Unfortunately there seems to be Luke> something wrong with my installation of ld as linking fails with a large Luke> number

Re: extend gthr-posix.h with rwlock

2008-06-05 Thread David Edelsohn
> Luke Dalessandro writes: Luke> Thank you, this was indeed the problem. I added the needed stubbs in Luke> gthr-single.h and it now compiles fine. Unfortunately there seems to be Luke> something wrong with my installation of ld as linking fails with a large Luke> number of errors of the fo

Re: extend gthr-posix.h with rwlock

2008-06-05 Thread Luke Dalessandro
David Edelsohn wrote: Luke Dalessandro writes: Luke> My problem is that unwind-dw2-fde.c seems to be compiled multiple times during Luke> a gcc build, and sometimes my additions are found but other times they are Luke> not. I am rebuilding again (AIX 5.1), and I'll post more information for

Re: extend gthr-posix.h with rwlock

2008-06-05 Thread David Edelsohn
> Luke Dalessandro writes: Luke> My problem is that unwind-dw2-fde.c seems to be compiled multiple times during Luke> a gcc build, and sometimes my additions are found but other times they are Luke> not. I am rebuilding again (AIX 5.1), and I'll post more information for Luke> anyone that

extend gthr-posix.h with rwlock

2008-06-05 Thread Luke Dalessandro
We have code that fails to scale do to the object_mutex lock in unwind-dw2-fde.c. This mutex protects two lists local to the file. The primary list is used in "read-mostly" mode, with the secondary list used rarely when writing needs to happen. I am trying to change this locking scheme to use