View Single Post
Old 06-11-2011, 05:50 PM   #44
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
@meme: Wait.

@chaley: I haven't made the change to use FunctionDispatcher in gui2.device however. Looking at the code, the done function is called from BaseJob.update which in turn is called in the GUI thread by JobsManager._update()

So changing those to FD wont make any difference.
Yes it will. Dispatcher uses a (edit: queued) signal no matter what, meaning done is called 'later', while FD (now) will call done synchronously. Or am I misunderstanding your comment?
chaley is offline   Reply With Quote