<br>&nbsp;&nbsp; Raffaele,<br><br>&nbsp;&nbsp; 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.
<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/8/30, Raffaele Viola &lt;<a href="mailto:raffovi@gmail.com">raffovi@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>I have a HashTable dawned by a thread T1, another thread T2 take this HashTable and give it to  the working memory as assertion.<br><br>what happens if T2 and JRools try to access to the HashTable? <br>Can I consider the working memory as a thread and use a method synchronization to solve the concurrent access problem?
<br><br>Thanks<br>Raffo<br>
<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>