Re: [Freevo-devel] Freevo 2.0 Resource handling Patch

2007-04-09 Thread Dirk Meyer
Mathias Weber wrote: >> 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

Re: [Freevo-devel] Freevo 2.0 Resource handling Patch

2007-04-09 Thread Mathias Weber
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/playe

Re: [Freevo-devel] Freevo 2.0 Resource handling Patch

2007-04-09 Thread Dirk Meyer
Mathias Weber wrote: > So finally i got a first version of the resource system as discussed > before. I'm sure it isn't yet perfect. There are some position in the > code where i don't know how to do it better. So i thought i post it > here and some one may take a look at it. Looks good. I made tw

[Freevo-devel] Freevo 2.0 Resource handling Patch

2007-04-09 Thread Mathias Weber
So finally i got a first version of the resource system as discussed before. I'm sure it isn't yet perfect. There are some position in the code where i don't know how to do it better. So i thought i post it here and some one may take a look at it. What works so far. In my test everything that wo