Re: [Rhythmbox-devel] plugins and threads

On 01/10/2007, Christian Buennig <masala web de> wrote:

> But since I prefer to write my plugin in Python: Does anyone have an
> idea to implement a server plugin without an extra thread? A solution
> might be to let Rhythmbox periodically "tick" my plugin so that the
> plugin can inspects its sockets for incoming data with non-blocking IO,
> but I do not know how to get such a periodic "tick" from Rhythmbox.

Just for interest...from the "writing plugins guide" we learn that
there is no support for threads in python plugins. What is the reason
for this? Why would the standard "import thread" not work?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]