Jody Garnett ha scritto: > Nothing went wrong that I know of; my impression was Jesse stalled > waiting for feedback. Do you want to try a read/write lock?
In fact I already tried with a crude patch, just to get an idea. The main problem with using http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html is that you cannot upgrade read locks and have them become write locks. That class is designed so that you have to relinquish all your read locks before attempting to grab a write lock, or you're deadlock on yourself. Unfortunately the existing code likes to grab read locks and then grab write ones too, killing itself. Being a non trivial change, I'll put it on hold and see if I can get some speedup elsewhere, but I was wondering, is that (grabbing the write lock while still possessing a read lock) supposed to be happening, or is it just a bug in how the lock calls are being made? 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 Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel