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 an abstract property. Give an example?
Explain about inheritance in oops?
Can you explain primordial class loader?
What is the difference between aggregation and composition?
Explain about inheritance?
What are the four phases of the Unified Process ?
Name some languages which have object oriented language and characteristics?
What is the purpose of late binding in object-oriented programming?
Why use oops?
What is the difference between a class and a structure?
What are the various types of constructors?
Can you create an instance of an interface?