On Thu, 2006-04-20 at 14:24 +0200, Hans Meine wrote:
> It's not an "issue to be solved", it's a features AFAIK.  I use that a lot 
> (with Qt actually) as a poor man's (and hassle-free!) threading technique, to 
> do calculations in the background.

Python makes this kind of thing really easy too.  Just use a generator:

def my_workhorse_func():
   for i in somelist:
      do_complicated_thing(i)
      yield True
   yield False

kaa.signals["idle"].connect(my_workhorse_func)

Instant cooperative multitasking :)

Jason.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to