Total Pageviews

Disclaimer

This is a personal web page. The views expressed on this blog are mine and do not necessarily reflect the views of my current employer.

I am currently employed by Morgan Stanley.

April 27, 2007

Threading or Pause-Ready Backgroundworker

It is hard to make a Thread and control it well. However, using a Backgroundworker is much easier until you need to pause/resume it.

Can we make a Backgroundworker pause-ready? Yes. I have joined a discussion on the MSDN Forums. It seems that we approach to a solution finally. I have contributed the code samples. And in fact I have used the code in a big project. It runs just Okay.

Generally speaking, I will resort to Backgroundworker in the future.