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 the main advantage of using inheritance?
What is a pure virtual function?
Explain the implementation phase with respect to oop?
What is difference between encapsulation and abstraction?
What is the super keyword?
What do you meant by "SBI" of an object?
Who is an Actor?
Explain the usage of encapsulation?
What is meant by overloading functions and operators?
Which OOPS concept exposes only the necessary information to the calling functions?
What is the function of dynamic typing?
How many methods are there in the externalizable interface?