multiple threads & environment
Constantinos A. Kotsokalis
c.kotsokalis at noc.ntua.gr
Fri Dec 17 12:10:02 EST 1999
Hello ppl,
a (simple?) question: If I have a python program with multiple threads
of execution, does each one of them start with their own os.environ
dictionary? What I want to do is to have an environment variable
different for each thread. I am using the Threading module, if that
is any further help, and add/change the environment variable in the
function that the thread executes (i.e. not passing it as an
argument).
Thank you!
Costas
--
Constantinos A. Kotsokalis || c.kotsokalis at noc.ntua.gr
National Technical University of Athens
Network Management Center
Tel. No: +30 1 7721861
More information about the Python-list
mailing list