Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 800625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:19:05+00:00 2026-05-14T23:19:05+00:00

As far as I’m concerned, the ideal amount of threads is 3: one for

  • 0

As far as I’m concerned, the ideal amount of threads is 3: one for the UI, one for CPU resources, and one for IO resources.

But I’m probably wrong.

I’m just getting introduced to them, but I’ve always used one for the UI and one for everything else.

When should I use threads and how? How do I know if I should be using them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:19:05+00:00Added an answer on May 14, 2026 at 11:19 pm

    Unfortunately, there are no hard and fast rules to using Threads. If you have too many threads the processor will spend all its time generating and switching between them. Use too few threads you will not get the throughput you want in your application. Additionally using threads is not easy. A language like C# makes it easier on you because you have tools like ThreadPool.QueueUserWorkItem. This allows the system to manage thread creation and destruction. This helps mitigate the overhead of creating a new thread to pass the work onto. You have to remember that the creation of a thread is not an operation that you get for “free.” There are costs associated with starting a thread so that should always be taken into consideration.

    Depending upon the language you are using to write your application you will dictate how much you need to worry about using threads.

    The times I find most often that I need to consider creating threads explicitly are:

    • Asynchronous operations
    • Operations that can be parallelized
    • Continual running background operations
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Far as best practices are concerned, which is better: public void SomeMethod(string str) {
As far as I know, C2DM is per app per device thing..but my question
As far as I know there's Erlang plugin for NetBeans and Eclipse. Which one
As far as I know, the first one you have to release when you
So far, I can only tell if a property is inherited or not, but
So far I have not been able to find an answer, but I wanted
So far I got this program to run but I got stock in this
As far as I understand, one possibility to handle error results with ajax is
As far as I know, NSURLCredentialStorage is just a wrapper for the keychain services
As far as I know, function foo() { aaa(); } is just var foo

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.