This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: Thread safety?belaban Jun 21, 2004 1:22 PM (in response to mfrost)You should be fine; TreeCache is thread-safe. 
 Bela
- 
        
- 
        3. Re: Thread safety?visionlink Aug 20, 2004 6:53 PM (in response to mfrost)there are two queues in a Region: nodeQueue and eventQueue. i understand that the BoundedBuffer is thread-safe. however, since there are two queues that are being operated on, it seems like there is a potential race in Region.putNodeEvent and LRUAlgorithm.processQueues. is there a bit of higher-level synchronization going on that i don't see? 
 thanks for any insight.
- 
        4. Re: Thread safety?ben.wang Aug 20, 2004 11:01 PM (in response to mfrost)This is indeed a potential problem that I have been planned to correct. :-) Anway, I have just refactored the eviction policy part and checked them into jboss-head. The fix will be available in release 1.1. 
 Thanks,
 -Ben
 
     
     
    