In winform my controls [taskbar and progressbar] become
inactive when heavy processing is going in background, how
to avoid this via multithreading



In winform my controls [taskbar and progressbar] become inactive when heavy processing is going in ..

Answer / brian dixon

Luckily most machines nowadays have multi-core processors or
multiple processors. If the machine in question has only a
single-core processor and nothing else, then there is no
good answer. If the machine is 'modern' and had dual- or
more processors (or cores), then the answer is that your
heavy processing is best forked off into a separate thread
while the GUI is maintained by the first thread. This
allows one processor to maintain good latency in processing
the GUI (and its controls) while the other processor(s) do
the processing. End of story.

Is This Answer Correct ?    12 Yes 5 No

Post New Answer

More OOAD Interview Questions

What is the syntax of object oriented method call?

0 Answers  


What is data abstraction? what are the three levels of data abstraction with Example?

0 Answers   TCS,


What are the four phases of the Unified Process ?

8 Answers   Protech, Student,


Define a good interface?

0 Answers  


What is the main advantage of using inheritance?

0 Answers  






Is is possible to define our own functional interface?

0 Answers  


Can we override static methods of a class?

0 Answers  


What are the Differentiate between abstraction and encapsulation.

0 Answers  


Can I implement polymorphism using abstract class?

0 Answers   MCN Solutions,


How many methods are there in the externalizable interface?

0 Answers  


What are the various types of constructors?

0 Answers  


How do I make sure that an object is released in code such as a connection or file object?

0 Answers   MindCracker,


Categories