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 |
Explain the meaning of object in object oriented programming?
Which of the following is tightly bound ? Inheritance or composition ?
Can an interface inherit from another interface?
What are all the languages which support oop?
Explain the rationale behind object oriented concepts?
What do you mean by abstract class?
What is Polymorphism?
7 Answers MindCracker, Protech, TCS,
What's the order of call of constructors in inheritiance?
Why we use oops concepts? What is its advantage?
What is the practical implementation of inner classes?
How do you represent static members and abstract classes in Class Diagram?
2 Answers InfoAxon Technologies, Protech,
What is the difference between class inheritance and interface inheritance?