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 |
Explain about realistic modeling?
How to differentiate between a CreateObject() and GetObject() ?
USECASE is an implementation independent notation. How will the designer give the implementation details of a particular USECASE to the programmer?
What is the function of dynamic typing?
Write basic concepts of oops?
Explain the use of Vtable and what are the various problems to override the functions?
What is guard condition?
8 Answers Mannar Company, Syntel,
What is Polymorphism?
7 Answers MindCracker, Protech, TCS,
Can an interface have an inner class?
What are the four important foundation concepts of OOP ?
Tell me something about abstract classes?
Does a class inherit the constructor of its super class?