Technology and Me

Tuesday, February 24, 2009

Thread vs. ThreadPool

There are situations when you should not use ThreadPool and instead use Threads -

  1. When you need to change priority of thread.
  2. When you need to create a foreground thread.
  3. When the thread is executing long running task.
  4. When you need to have the ability to abort a thread.
Posted by Nitin Chaudhari at 7:59 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

About Me

My photo
Nitin Chaudhari
View my complete profile

Blog Archive

  • ►  2019 (2)
    • ►  January (2)
  • ►  2016 (2)
    • ►  February (2)
  • ►  2015 (8)
    • ►  December (1)
    • ►  November (6)
    • ►  April (1)
  • ►  2014 (1)
    • ►  September (1)
  • ►  2011 (2)
    • ►  April (1)
    • ►  March (1)
  • ►  2010 (24)
    • ►  September (2)
    • ►  August (1)
    • ►  July (2)
    • ►  May (7)
    • ►  April (4)
    • ►  March (5)
    • ►  February (3)
  • ▼  2009 (20)
    • ►  November (1)
    • ►  June (1)
    • ►  May (5)
    • ►  April (2)
    • ▼  February (7)
      • Expensive Thread creation
      • Thread vs. ThreadPool
      • Guess output
      • Exceptions - Part1
      • for-each-ing
      • Boxing
      • Static Variables
    • ►  January (4)
  • ►  2008 (25)
    • ►  December (1)
    • ►  October (4)
    • ►  September (11)
    • ►  June (2)
    • ►  May (4)
    • ►  January (3)
  • ►  2007 (8)
    • ►  December (3)
    • ►  November (5)
  • ►  2006 (1)
    • ►  June (1)
Simple theme. Powered by Blogger.