[IronPython] Importing on another Thread
Dan Eloff
dan.eloff at gmail.com
Tue Jul 1 22:53:54 PDT 2008
I actually haven't managed to successfully import any modules in a new
thread, shouldn't this be possible in IronPython (2.0b3) Silverlight
B2
All modules loaded in 2.95s
Background imported []
Could not (background) import ['hmac', 'hashlib', 'urlparse', 'new',
'ConfigParser', 'cgi', 'heapq', 'copy', 'dis']
I started the thread like so:
t = Thread(ThreadStart(preload))
t.Start()
And I used __import__ to load the modules.
Thanks,
-Dan
More information about the Users
mailing list