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

If a class inherits an interface, what are the 2 options available for that class?

0 Answers  


Explain the purpose of composition.

0 Answers  


How do we implement serialization actually?

0 Answers  


Can a class implement two interfaces having default method with same name and signature?

0 Answers  


Which OOPS concept is used as a reuse mechanism?

0 Answers  






What is the base type from which all structs inherit directly?

0 Answers  


How can I be thrown polymorphically?

0 Answers  


What is an abstraction and why is it important?

0 Answers  


Can an interface contain fields?

0 Answers  


What are manipulators?

0 Answers  


USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?

2 Answers  


What is an abstraction?

0 Answers  


Categories