starting a thread in a nother thread

Stefan Behnel stefan_ml at behnel.de
Wed Jan 27 08:10:13 EST 2010


Richard Lamboj, 27.01.2010 14:06:
> just for _curiosity_. What would be if i start a thread in a nother thread and 
> acquire a lock in the "child" thread. Is there anything that could go wrong 
> if someone try to start threads in threads?

There's usually tons of things that can go wrong w.r.t. threads:

http://www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-1.pdf

However, there's nothing special to a thread that was started from another
thread, so the problems don't change.

Stefan



More information about the Python-list mailing list