Best solution for a windows service with constant running threads in C# 4.0
Posted
by
dagda1
on Stack Overflow
See other posts from Stack Overflow
or by dagda1
Published on 2011-01-09T07:58:32Z
Indexed on
2011/01/09
13:53 UTC
Read the original article
Hit count: 214
Hi,
I want to create a windows service that will create x number of threads that wake up every x number of minutes and do some work.
I think the task scheduling or parallel framework is a bad fit for this type of work as it is best suited for work that starts, completes and finishes rather than is constant.
Should I look at utilising a thread pool for this approach or does anyone have any advice for a good solution?
Thanks
Paul
© Stack Overflow or respective owner