In winform my controls [taskbar and progressbar] become
inactive when heavy processing is going in background, how
to avoid this via multithreading
Answer Posted / 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 View All Answers
Why dynamic binding is used in object-oriented programming?
State two differences between an object and a class.
Explain about realistic modeling?
Explain about abstraction?
Why is class hierarchies managed in object-oriented programming?
What is overriding?
Write a note about inheritance?
What are the major differences between late and dynamic binding?
Difference between class and an object?
Explain about inheritance in oops?
Explain the purpose of composition.
Why does java not support multiple inheritance?
Can constructors be parameterized?
Explain what you understand by function overloading.
Can we override static methods? Why?