Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > an't start a thread Pool from another thread

Thread Tools

an't start a thread Pool from another thread

Posts: n/a
Hi all,
I hope someone can help me with this issue
I see that i can't start a thread Pool from another thread, why?

running python 2.6.4 windowsXP
>>> import multiprocessing.dummy as threads
>>> def makePool():


>>> makePool()
>>> import thread
>>> thread.start_new(makePool,())

Unhandled exception in thread started by <function makePool at
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic NAT pool doesn't report full when pool contains interface IP tom Cisco 0 10-09-2009 02:22 AM
does python have a generic object pool like commons-pool in Java Rick Lawson Python 8 07-16-2009 11:25 PM
PIX 501 issue routing between VPN pool and local pool eostrike Cisco 3 10-24-2008 09:43 PM
Thread pool to control start or threads Java 3 04-28-2007 02:22 PM
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Guoqi Zheng ASP .Net 4 06-03-2004 06:39 PM