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 is a static method? Why do we need static methods in java 8 interfaces?
What is difference between static and non-static fields of a class?
What is a pure virtual function?
Explain about overriding polymorphism?
How many methods are there in the externalizable interface?
Which keyword can be used for overloading?
What is the difference between static and dynamic Classificaition.Give some examples.
1 Answers InfoAxon Technologies, Protech, Wipro,
What is the difference between class inheritance and interface inheritance?
What is bootstrap, extension and system class loader?
What is the order of call of constructors in inheritiance?
What is super keyword?
What is static polymorphism?