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
What are the problems faced by the developer using object oriented programming language?
What is the syntax of object oriented method call?
Write a program to show the inheritance used in a class.
Explain colloboration
What do you mean by abstract classes?
Explain about a class?
What are the interfaces you used in beans?
Explain the implementation phase with respect to oop?
How many methods are there in the externalizable interface?
Does a class inherit the constructor of its super class?
Can you define OOP and principles of OOP?
Explain about polymorphism?
Can we access interface static method using interface references?
What is polymorphism and abstraction?
Explain about encapsulation?