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 |
If a class inherits an interface, what are the 2 options available for that class?
Explain the purpose of composition.
How do we implement serialization actually?
Can a class implement two interfaces having default method with same name and signature?
Which OOPS concept is used as a reuse mechanism?
What is the base type from which all structs inherit directly?
How can I be thrown polymorphically?
What is an abstraction and why is it important?
Can an interface contain fields?
What are manipulators?
USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?
What is an abstraction?