Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Waiting for background thread pattern
Message
From
22/05/2011 16:12:18
 
 
To
19/05/2011 10:11:51
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows XP SP2
Application:
Desktop
Miscellaneous
Thread ID:
01510997
Message ID:
01511417
Views:
43
>>My pattern is to have a "priority" flag added to my pending tasks, which also includes cancel logic.
>>Works well if tasks are short
>
>Not sure I understand however what you mean by this. Are you suggesting some tasks in some sort of list that you could queue up?

Yupp. I split the tasks into "tasklets" which are very small/granular and control the queue if anything nedds to change.

regards

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform