Make CachingThread aware of potential concurrent access,master
commitdedc423b7f274b231740800d96c24315460eaae3
authorAlbert Cardona <sapristi@gmail.com>
Thu, 5 Jul 2012 15:22:26 +0000 (5 11:22 -0400)
committerAlbert Cardona <sapristi@gmail.com>
Thu, 5 Jul 2012 15:22:26 +0000 (5 11:22 -0400)
tree411de49fc41105233c8cedf8982d8a5e52558554
parent7e5067cab6476b1c716ef1c2c4a9c835051e7044
Make CachingThread aware of potential concurrent access,
when called from Loader.releaseMemory methods.

Also reduce caching size to 10, and ensure that the counting
is also down when reusing an array.
ini/trakem2/utils/CachingThread.java