Scott Wojan

DotRant BLOG
posts - 19, comments - 66, trackbacks - 5

My Links

News

Archives

Post Categories

Image Galleries

September 2010 Entries

Multithreaded queue with exception handling and progress reporting
Below is a multithreaded queue with progress reporting and nice exception handling that I implemented for a project. I hope it might help someone else. You can copy and paste the following code into a console app to see how to use it. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Threading; namespace WorkQueueTest { class Program { static readonly object locker = new object(); static void Main(string[] args) { //You can play with...

Posted On Wednesday, September 08, 2010 11:46 AM | Feedback (0) |

Powered by: