Dirk Meyer wrote: > core/src/resource.py uses yield_execution to suspend all blocking > modules now. This removed the callback as parameter and we don't need > the internal callback function.
Jap i think this is better i thought about it but wasn't sure how to do it. thanks. > ui/src/video/player.py does not implement suspend and resume (and > returns False on can_suspend) because we can't resume the video > (yet). The same goes for the games, i just stoped it. Maybe we should change this as well. > One other idea: maybe add a parameter resume_other=True/False to > free_ressources and by doing that merge resume_all into that > function. And maybe we can add a force=True/False to reserve that will > return False (not possible), True (all clear) or InProgress (possible, > takes a while). This would remove the suspend_all function. I can do > that if you agree that this sounds like a good idea. > jap both sounds good. since i call free_resource and resume_all usually together. Only exception was the movie player and the game player. But they should be removed since they are not really suspendable. Thanks for your help. Nice to see my work is usable :-) Mathias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel