Hello Rainer,

Here is how I understand the problem, see if I am correct.

I have one thread that is saving the process instance, which results in the 
call to the saveLogs. The saveLogs traverses pi's log list using the iterator. 
Meanwhile another thread calls token.signal(), which causes a new SignalLog 
being added to the process instance's log list.

So the solution is


  | synchronized(pi)
  | {
  |   token.signal()
  | }
  | 

Am I right?

Thanks
Raj

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922450#3922450

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922450


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to