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 |
Can we access interface static method using interface references?
What is the difference between a class and an object?
What is the main use of message metaphor in object-oriented programming?
What is the difference between abstract & interface?
Difference: Activity Diagram and Sequence Diagram
Explain what an object is.
What is inheritance?
Can you explain primordial class loader?
Difference between composition and inheritance ?
What is an abstraction?
Difference between class and an object?
What is the abstract method modifier?