Re: Threading in a python extension?



On Sun, Jun 18, 2006 at 12:32:52 +0200, Frederic Peters wrote:
>Magnus Therning wrote:
>
>> Does anyone have any examples of multi-threade extensions written in
>> Python?
>
>Nope but multi-thread is perhaps not necessary, PyGTK FAQ has a good
>suggestion about using gobject.idle_add and python enumerators.  I have
>been using this trick in a few pygtk apps to keep them responsives
>while not using threads and have been very happy with it.
>
>  http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq23.020.htp

Yes, that'll at least be a good start. If the result is good enough I
don't have to dive into threading at all :-)

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus therning org             Jabber: magnus therning gmail com
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

In order to understand recursion you must first understand recursion.

Attachment: pgpyNKT84DuzE.pgp
Description: PGP signature



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