I'm following this tutorial and came up with this demo-code:
Code: Select all
from System.Threading import Thread, ThreadStart
def f():
c = 0
while True:
Thread.Sleep(1000)
print c
c += 1
t = Thread(ThreadStart(f))
t.Start()
The same happens when I use the ironPython threading module.
Question:
Is it possible to have multi-threaded code execution within the macro environment? The reason I'd like to have this is that I want my GUI to be responsive while executing a bunch of stuff in the background (preferably in a separate Thread).
thanks,
Dominic