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 three "domains" are considered during analysis modeling?
What are the Design Patterns you know.
2 Answers InfoAxon Technologies, Protech,
what are the different ways for a method to be overloaded?
What is super keyword?
What is a ternary operator?
What is the purpose of late binding in object-oriented programming?
Explain what is object oriented programming language?
What is the benefit of Composition over Inheritance?
Why dynamic binding is used in object-oriented programming?
Why does java not support multiple inheritance?
Explain the mechanism of composition?
What is an abstraction and why is it important?