how to make a function thread-safe ?

j vickroy jim.vickroy at noaa.gov
Fri Mar 9 16:26:02 EST 2001


If a function may be applied (simultaneously) by multiple threads is the
safe (correct) procedure to wrap the function inside a class and have
each thread create its own instance of the class?

Thanks



More information about the Python-list mailing list