O'Reilly logo

C# 2008 and 2005 Threaded Programming: Beginner's Guide by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - Creating BackgroundWorker components in run-time

The hackers who contracted you have many notebooks with processors having different numbers of execution cores. It is said that one of them has a 128 core computer (that can hack everything you can imagine). The hacker has been looking for a multithreading expert to take full advantage of the powerful computer, but did not find anyone. The hacker wants to break a 128 Unicode characters code using 128 threads. Come on, let's help the hacker!

We are going to create a new version of our Codebreaker application creating the BackgroundWorker components in runtime, without any design-time prerequisites, and assign the event handlers with the relevant code:

  1. Open the project, CodeBreakerApplication ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required