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

Can we access interface static method using interface references?

0 Answers  


What is the difference between a class and an object?

0 Answers  


What is the main use of message metaphor in object-oriented programming?

0 Answers  


What is the difference between abstract & interface?

0 Answers   MindCracker,


Difference: Activity Diagram and Sequence Diagram

4 Answers   Protech,






Explain what an object is.

0 Answers   TCS,


What is inheritance?

7 Answers   Protech,


Can you explain primordial class loader?

0 Answers  


Difference between composition and inheritance ?

0 Answers  


What is an abstraction?

0 Answers  


Difference between class and an object?

0 Answers  


What is the abstract method modifier?

0 Answers  


Categories