Re: Threading in a python extension?



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


Hope it helps,

        Frederic



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