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 |
Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?
What is the difference between an abstract class and interface in java?
Describe inheritance and non-inheritance of a derived class?
Whether static method can use nonstatic members?
Explain about inheritance hierarchies?
Can an interface have an inner class?
What is a constructor in class?
USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?
What are the features that are provided to make a program modular?
What are the Design Patterns you know.
2 Answers InfoAxon Technologies, Protech,
Difference between abstraction and implementation hiding ?
Explain persistence?