Threading legality/morality
Aahz Maruch
aahz at panix.com
Mon Mar 26 10:31:11 EST 2001
In article <fsDv6.1247$NR.100201 at news3.oke.nextra.no>,
Syver Enstad <syver at NOSPAMcyberwatcher.com> wrote:
>
>How is calling print from more than one thread looked upon?
Depends what you're trying to do. If it's debugging output and if you
concatenate strings before trying to do a print (don't use multiple
prints in succession), you're safe. Anything other than that is
probably risky -- but unlikely to do actual damage (you'll just get
messed up output).
--
--- Aahz <*> (Copyright 2001 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het Pythonista http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"I won't accept a model of the universe in which free will, omniscient
gods, and atheism are simultaneously true." -- M
More information about the Python-list
mailing list