[IronPython] Importing on another Thread
Dan Eloff
dan.eloff at gmail.com
Wed Jul 2 07:53:54 CEST 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 Ironpython-users
mailing list