I was able to come up with a workaround hack. 

I added a state to each forked branch just prior to the join. This state fires 
off a thread that sleeps for 10 seconds, allowing the current thread to go into 
a wait state and then resignals the token for the waiting branch. This causes 
the the latest state information to be loaded for a correct join. 

I need to think thru some sort of semaphore mechanism to make sure I don't land 
into an odd situation where one thread is saving while the other is loading, 
but it seems to work.

Sean

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

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


-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to