On 09/09/2014 04:31 PM, Ate Douma wrote:
> 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.

Got this as an answer to my question but it seems that answer did not
end up on the list.

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to