Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

creation of Thread Pool  RSS feed

 
Sidharth Pallai
Ranch Hand
Posts: 137
Hibernate Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to icmp ping for 10,000 ip's so i want to know how Thread pool can be useful for me
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sure sounds like a homework assignment.

Presumably your instructor wants you to think about the fact that network delays in doing a single ping will cause very low load on the cpu so multiple Threads could be working "at the same time."

So what have you learned about use of Thread Pools to manage multiple Threads so far?

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!