pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Möbius <dmoeb...@scoop-gmbh.de>
Subject Re: two questions about background tasks
Date Fri, 16 Apr 2010 15:33:17 GMT
Greg Brown <gkbrown@mac.com> wrote:

>> 1. What is the recommended way if a background Task wants to update the gui?
>> Use EventQueue.invokeLater(Runnable) ?
>
> Call ApplicationContext.queueCallback().

Ah, thanks, I wasn't aware of that.

>> 2. org.apache.pivot.util.concurrent.Dispatcher spawns a new thread  
>> for each task and looks rather unfinished.
>
> You are correct that Dispatcher needs some additional work - we are  
> tracking it in this ticket:
>
> https://issues.apache.org/jira/browse/PIVOT-35

Ok, I'll continue the discussion there, then.

Dirk.



Mime
View raw message