On Mon, 2002-03-11 at 11:28, Gustavo Niemeyer wrote: > No, that's not possible. There are no python functions lefting the lock > acquired after returning. It's a simple "lock, xchat_function, unlock" > procedure, so the function releasing the lock would be called so many > times as the lock function. Even in an infinite loop the python plugin > will still pass control back to xchat after a few interactions, because > both are fighting for the lock. Indeed, I've tested the system with a > few dozen threads, and the results are just fine. I can't see any reason > to implement something more complex than that right now. Sorry, I misunderstood you. Yes, that should be fine. Regards, Alex. -- PGP Public Key: http://aoi.dyndns.org/~alex/pgp-public-key -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s:++ a18 C++(++++)>$ UL+++(++++) P--- L+++>++++ E---- W+(+++) N- o-- K+ w--- !O M(+) V-- PS+++ PE-- Y+ PGP+(+++) t* 5-- X-- R tv b- DI D+++ G e h! !r y ------END GEEK CODE BLOCK------
This is a digitally signed message part