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

Re: Python plugin API locking (patch)



On Fri, Oct 03, 2003 at 10:34:41PM +0100, Gustavo J. A. M. Carneiro wrote:
>   This patch should protect all plugin API functions with a global
> recursive mutex.

Thats a cool patch, but it seems its not enough...

You protect plugins from each other, thats cool, but at the
moment plugin can run gtk signal loop, its not enough: now also
xchat C code should go through locks, that means that locks
should be in xchat core code.  Thats what made me so worried...

(Think of one thread having plugin lock and calling xchat
functions, another thread running gtk.mainloop - now there
are 2 threads inside xchat core)

-- 
marko

--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/