commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ate Douma <...@douma.nu>
Subject Re: [SCXML] onentry executable content parallel to further transitions
Date Tue, 09 Sep 2014 14:31:31 GMT
On 09-09-14 11:20, Johannes Wienke wrote:
> 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.

Hi Johannes,

Wrong list or did you intend to raise a question about the above?
The context isn't clear to me and the code example confusing and not 
complete/correct either.

Ate

>
> Cheers,
> Johannes
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message