Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backgroundworker is working hard
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Backgroundworker is working hard
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01174895
Message ID:
01174895
Vues:
48
I am designing an app with very little userinterface. The The app will do a lot of work in the background and then the backgroundworker came to mind <s>.
I will start several backgroundworker threads (each with a different argument) when the app is started and the backgroundworkers will run for the duration that the app is running (until the PC is restarted).

Are there any negative side effects to leaving backgroundworker threads running for such an long time?

Another design thought was to only spawn backgroundworker threads when they are needed and when they are done doing their task have the threads complete in a relatively short period of time.

Any thoughts on this subject are welcome. Please let me know if further information is needed to advice on the situation.

Thanks,
Einar
Semper ubi sub ubi.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform