how to make a function thread-safe ?
Aahz Maruch
aahz at panix.com
Fri Mar 9 21:48:42 EST 2001
>From robinjim at earthlink.net:
>
> So, I have probably been making things overly complicated for myself since I
> do not write functions that use global data. I assume such a function is
> also thread-safe if it treats its parameter list as read-only (probably as
> any "good" function should). Correct?
Exactly.
> If you have an opportunity to respond, please feel free to respond to the
> group rather than me personally -- whichever you prefer.
I generally prefer responses to public posts stay in public, so that
other people can learn.
--
--- Aahz (Copyright 2001 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"..., and some of you may regard all women as evil traps that exist only
to tease, torture, and suck out your very soul." --DrMax
More information about the Python-list
mailing list