In winform my controls [taskbar and progressbar] become
inactive when heavy processing is going in background, how
to avoid this via multithreading
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 |
What are the various types of constructors?
What is function override?
What is the syntax of object oriented method call?
Why do we use oops concepts? What is its advantage?
What are the different types of inheritance?
What is Polymorphism, overloading, overriding and virtual?
Explain method overriding.
What is difference between class and interface?
What is dynamic or run time polymorphism?
Define Initialisation Purpose.
What are the tools you used for OOAD?
How many methods are there in the externalizable interface?