when executing a simple python script like the following, windbg executes the first line of code in the threaded function, then hangs and crashes itself
```
import pykd
from threading import Thread
def my_func():
print "hi from thread 1\n"
print "hi from thread 2\n"
t = Thread(target=my_func)
t.daemon = True;
t.start()
print "after thread start"
```
Comments: ** Comment from web user: ussrhero **
```
import pykd
from threading import Thread
def my_func():
print "hi from thread 1\n"
print "hi from thread 2\n"
t = Thread(target=my_func)
t.daemon = True;
t.start()
print "after thread start"
```
Comments: ** Comment from web user: ussrhero **
I'm affraid is is impossible to make stable multithread code inside windbg.
It is a very long story to talk.
Dont's use __threading__ or __multiprocessing__ inside windbg.