"kabir.khan(a)jboss.com" wrote :
| Let me know when you have checked it and I can add this to AbstractController.
|
That was a joke. ;-)
"kabir.khan(a)jboss.com" wrote :
| One minor issue is the iterator() and listIterator() methods, which are not thread
safe at the moment. The other methods are called with a lock taken in AbstractController.
For the iterator methods I need to readLock, take a snapshot into a list and return
iterators to that list.
|
What about if you already keep states in thread safe collection?
Too much overhead with double synching then - AC's lock + synched collection?
"kabir.khan(a)jboss.com" wrote :
| Another thing I have not checked is how states work in a hierarchy of controllers
Afaik, it shouldn't be a problem, as we don't use anything extraordinary.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262935#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...