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 is the syntax of object oriented method call?
What is data abstraction? what are the three levels of data abstraction with Example?
What are the four phases of the Unified Process ?
Define a good interface?
What is the main advantage of using inheritance?
Is is possible to define our own functional interface?
Can we override static methods of a class?
What are the Differentiate between abstraction and encapsulation.
Can I implement polymorphism using abstract class?
How many methods are there in the externalizable interface?
What are the various types of constructors?
How do I make sure that an object is released in code such as a connection or file object?