[Twisted-Python] Re: callFromThread [was Hilarious dream-logic]

Cory Dodt corydodt at twistedmatrix.com
Thu May 18 17:57:39 MDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Indeed.  <http://twistedmatrix.com/trac/ticket/1726>!

Scott Lamb wrote:
> Actually, English is my first language, and I'm confused every time I
> see those functions. It's probably too late to change the name, but
> might I suggest changing the first sentence of callFromThread's
> docstring from:
> 
>     Call a function from within another (i.e. non-reactor) thread.
> 
> to:
> 
>     Cause a function to be executed asynchronously on the reactor thread.
> 
> This is the language used by SwingUtilities.invokeLater(), which I've
> always found comparatively clear.
> 
> http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/SwingUtilities.html#invokeLater(java.lang.Runnable)
> 
> 
> Regards,
> Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEbQnz3A5SrXAiHQcRAnbCAKCOvvp/SDJjEoHuxCjHjPNq3aZfigCffFbA
yMD3vh9kAg7Y8cLOWqrG2CI=
=ngPU
-----END PGP SIGNATURE-----




More information about the Twisted-Python mailing list