Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,
Please tell me ,Alternative Component model for Backgroundworker in C#.net.
Thanks in Advanced.
Regards,
Lakshmi Narayanan.S
Posted

You could simply use threads instead. Have a look at this article:
Beginners Guide to Threading in .NET: Part 1 of n[^]

Good luck!
 
Share this answer
 
Comments
#realJSOP 8-Aug-11 8:08am    
5 - proposed as answer.
Kim Togo 8-Aug-11 8:35am    
Good article. My 5.
thatraja 8-Aug-11 9:21am    
Agree, 5!
Threadpool or System.Threading should be what you are after!

—MRB
 
Share this answer
 
Comments
Kim Togo 8-Aug-11 8:31am    
Right on. 5.
Sergey Alexandrovich Kryukov 8-Aug-11 8:35am    
Agree, my 5, but also a Parallel network. It is build on top of threads anyway, but provides additional and very different functionality.
--SA
thatraja 8-Aug-11 9:22am    
5!
Espen Harlinn 8-Aug-11 18:43pm    
Good reply, my 5
If you're using .net 4.0 then I would prefer to use of the new Parallel framework
Sacha Barber has written a series of very good articles on the subject here is the first one:
Task Parallel Library: 1 of n[^]
 
Share this answer
 
Comments
Kim Togo 8-Aug-11 8:32am    
Yes, the new TPL in .NET 4 is amazing. My 5.
Sergey Alexandrovich Kryukov 8-Aug-11 8:36am    
Good point, my 5, but System.Threading.Thread and thread pool no to be forgotten.
--SA
thatraja 8-Aug-11 9:22am    
5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900