O'Reilly logo

C# Multithreaded and Parallel Programming by Rodney Ringler

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

Showing progress

Users may get impatient when processes are delayed for more than a few seconds. In such cases, they need to know how long it will take them to finish. A good evidence of this is the replacement of messages such as Hold on… by animated dialog boxes with progress bars, entertaining the users while they wait for the process and showing them an approximate time required to finish the task.

Reporting progress is one of the main problems when we work with only one thread and make intensive use of the processing power. Now, we will make changes to the application to show the code as it is being decoded and report the decoding progress for each character. This way, you will be able to decide whether to hide the CodeBreaker when the guard ...

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