Raffaele,
Hashtable is synchronized already, and so you will not have any problem.
But answering your question, drools does not start any inner thread. It will
simply use the thread calling its methods, so the default java
synchronization mechanisms apply.
[]s
Edson
2007/8/30, Raffaele Viola <raffovi(a)gmail.com>:
Hi all,
I have a HashTable dawned by a thread T1, another thread T2 take this
HashTable and give it to the working memory as assertion.
what happens if T2 and JRools try to access to the HashTable?
Can I consider the working memory as a thread and use a method
synchronization to solve the concurrent access problem?
Thanks
Raffo
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com