commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Wienke <jwie...@techfak.uni-bielefeld.de>
Subject Re: [SCXML] onentry executable content parallel to further transitions
Date Tue, 09 Sep 2014 09:20:05 GMT
Hi,

On 09/08/2014 10:07 PM, Martin Gainty wrote:
> StringTokenizer st = new StringTokenizer(event); 
> 
> int tkns = st.countTokens(); 
> TriggerEvent[] evts = new TriggerEvent[tkns]; 
> for (int i = 0; i < tkns; i++) { 
>    executor.triggerEvents();
> 

But then I have to implement a custom logic to restart that loop once
new events arrive after it finished once. Moreover, this doesn't look
thread-safe.

Cheers,
Johannes

-- 
Johannes Wienke, Researcher at CoR-Lab / CITEC, Bielefeld University
Address: Inspiration 1, D-33619 Bielefeld, Germany (Room 1.307)
Phone: +49 521 106-67277


Mime
View raw message