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 |
Who is an Actor?
What is static and dynamic Binding?
Difference: Activity Diagram and Sequence Diagram
What are abstract functions? Why are they used?
Why does java not support multiple inheritance?
Why abstraction is important?
What do you mean by abstract class?
Why is C not an OOP language?
0 Answers Agilent, Integreon, ZS Associates,
Why use oops?
Explain static binding
Differentiate between data abstraction and encapsulation.
Why dynamic loading is used in object-oriented programming?