[Twisted-Python] Re: [Twisted-commits] r13334 - Make log.err and log.msg actually threadsafe, by executing them in the

Itamar Shtull-Trauring itamar at itamarst.org
Tue Mar 29 09:16:58 MST 2005


On Tue, 2005-03-29 at 09:00 -0700, James Knight wrote:
> Author: foom
> Date: Tue Mar 29 09:00:10 2005
> New Revision: 13334
> 
> Modified:
>    trunk/twisted/internet/posixbase.py
>    trunk/twisted/python/log.py
>    trunk/twisted/python/threadable.py
> Log:
> Make log.err and log.msg actually threadsafe, by executing them in the
> reactor-loop if not called from the main thread. 

I talked to glyph about this at some point, and he thought that we
shouldn't do this, if you want to make observers thread safe you should
do so yourself. I'm not sure I agree with glyph, though.





More information about the Twisted-Python mailing list