Nothing went wrong that I know of; my impression was Jesse stalled 
waiting for feedback. Do you want to try a read/write lock?
Jody

Andrea Aime wrote:
> Hi,
> I'm looking into a scalability problem in our current
> shapefile datastore implementation that prevents
> fully using the whole CPU(s) once the number of threads
> hitting the shapefile is > 1.
>
> I only had a cursory look, so I may have misunderstood,
> but it seems the current locking mechanism tells apart
> reads and writes api wise (ShpFiles class, acquireRead/acquireWrite
> methods) but internally uses a basic ReentrantLock instead of a
> ReadWriteLock. The name of the variable (Lock readWriteLock = new 
> ReentrantLock()) seems to suggest the usage of a ReadWriteLock
> was attempted... what went wrong?
>
> Cheers
> Andrea
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to