Answer Posted / venkatachalapathy
Interrupts are necessary for handling time-critical
tasks, but there’s a large class of problems in
which you’re simply trying to partition the problem
into separately-running pieces so that the whole
program can be more responsive. Within a program,
these separately-running pieces are called threads
and the general concept is called multithreading. A
common example of multithreading is the user
interface. By using threads, a user can press a
button and get a quick response rather than being
forced to wait until the program finishes its
current task.
Ordinarily, threads are just a way to allocate the
time of a single processor.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the concept of proper inheritance?
How a variable is stored in memory?
Is string a class in java?
What is jdbc api?
What is nextint java?
Why volatile is used in java?
What things should be kept in mind while creating your own exceptions in java?
What is boolean data type in java?
What is the purpose of finalization in java programming?
What is difference between path and classpath in java?
What is size_t?
Can I extend singleton class in java?
Differences between C and Java?
Which is easier .net or java?
Is java 1.7 the same as java 7?