Hi, On Fri, 2007-12-28 at 18:22 +0100, Dirk Meyer wrote: > Andreas Büsching wrote: > > If I remember correctly I suggested to implemented a twisted-notifier in > > pyNotifier as I do not like the idea to have a feature in nf_generic > > that in most case is not used ("un-used" code that requires cpu time) > > and that is not supported by the other notifier implementations. > > Right, you did > > > What about implementing a twisted notifier like nf_gtk or nf_qt? I do > > not know twisted; is that possible? > > It should be possible, but every new notifier is a bit different.
Yes, but the idea of pyNotifier is make this bit as small as possible. > Remember the discussions we had about timer. Should a timer fire again > when the same timer is still in progress? Do we schedule the new timer > when the callback is started or when it is stopped? Some parts of kaa > need the way it is now and it is the same way glib is doing it. So > using nf_generic or nf_gtk is the same. But when twisted does it > different, what should we do? I already know one problem: when you > call sys.exit(0) in a callback, both nf_generic and nf_gtk stop the > loop, twisted just prints an error. To be honest, I think this is a hack in twisted and could be fixed by a nf_twisted implementation if this is really necessary. Is there anyone who can answer the questions about twisted concerning the handling of timers and so on? Maybe there are no differences and an implementation is quite simple. IMHO it would be a would be a much better solution to implement a twisted notifier. crunchy -- Andreas Büsching http://www.bitkipper.net/ [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel