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 7731783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:34:01+00:00 2026-06-01T06:34:01+00:00

using .NET 3.5. I have a function I want to make multithreaded calls to.

  • 0

using .NET 3.5. I have a function I want to make multithreaded calls to. The user currently sets the max number of threads in the application and I spin them up in a for loop with new Thread(Run).Start(). The Run function is in a while loop and runs until a class level boolean is set to false.

What I want to be able to do is allow the user to change the maxThread value while the application is running it’s back end processes and have the application adjust the amount of threads running. Is there some kind of thread manager in .NET 3.5 I can use or will this be a roll my own situation. If it’s a roll my own I would appreciate any seed ideas you might have on what the best way of accomplishing this would be.

  • 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-06-01T06:34:03+00:00Added an answer on June 1, 2026 at 6:34 am

    Is there some kind of thread manager in .NET 3.5

    Yes, you can use the Reactive Extensions backport of the Task Parallel Library for .NET 3.5.

    I would not worrry about controlling the maximum number of threads dynamically. The TPL is suppose to handle all of that for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a web application using .net/c#. I have a user control that I
I'm using asp.net/c# and have a number of Collapsible Panel Extenders that have been
I am trying to make an ajax json callback using a .net application. So
I have a .NET/native C++ application. Currently, the C++ code allocates memory on the
I am using C#.NET 2.0. I have already called functions that are stored in
I am using visual studio 2008, asp.net.vb I have various functions; 1 that calculates
I have VB.net windows service and in one of the functions I am using
sending mail along with embedded image using asp.net I have already used following but
Using the .net framework you have the option to create temporary files with Path.GetTempFileName();
Using .NET 1.1, I have a DataGrid that contains three columns for each row.

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.