[rules-users] problem with threads

2007-08-30 Thread Raffaele Viola
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

Re: [rules-users] problem with threads

2007-08-30 Thread Edson Tirelli
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,