Java multitasking

Ads

 
 

Share on Google+Share on Google+

samar
Java multitasking
2 Answer(s)      7 years ago
Posted in : Java Interview Questions
What is multi-tasking Types?
Ads
View Answers

October 30, 2010 at 12:36 PM


Hi,

The ability to execute more than one task at the same time, a task being a program. The terms multitasking and multiprocessing are often used interchangeably, although multiprocessing implies that more than one CPU is involved.

In multitasking, only one CPU is involved, but it switches from one program to another so quickly that it gives the appearance of executing all of the programs at the same time.

There are two basic types of multitasking: preemptive cooperative.

In preemptive multitasking, the operating system parcels out CPU time slices to each program.OS/2, Windows 95, Windows NT, the Amiga operating system and UNIX use preemptive multitasking.

In cooperative multitasking, each program can control the CPU for as long as it needs it. If a program is not using the CPU, however, it can allow another program to use it temporarily. Microsoft Windows 3.x and the MultiFinder (for Macintosh computers) use cooperative multitasking.

Thanks.



October 30, 2010 at 12:36 PM


Hi,

The ability to execute more than one task at the same time, a task being a program. The terms multitasking and multiprocessing are often used interchangeably, although multiprocessing implies that more than one CPU is involved.

In multitasking, only one CPU is involved, but it switches from one program to another so quickly that it gives the appearance of executing all of the programs at the same time.

There are two basic types of multitasking: preemptive cooperative.

In preemptive multitasking, the operating system parcels out CPU time slices to each program.OS/2, Windows 95, Windows NT, the Amiga operating system and UNIX use preemptive multitasking.

In cooperative multitasking, each program can control the CPU for as long as it needs it. If a program is not using the CPU, however, it can allow another program to use it temporarily. Microsoft Windows 3.x and the MultiFinder (for Macintosh computers) use cooperative multitasking.

Thanks.


Ads









Related Tutorials/Questions & Answers:
Java multitasking
Java multitasking  What is multi-tasking Types
multitasking and multithreading
multitasking and multithreading  what is the difference between multitasking and multithreading
Advertisements
Parallel Processing & Multitasking
Parallel Processing & Multitasking       Multitasking & Multithreading Multitasking.... In multitasking only one CPU is involved but it can switches from one program
Multithreading in Java
Multithreading in Java      ... the multitasking. Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one CPU
Threads in Java
Threads in Java help in multitasking. They can stop or suspend a specific... in increasing the speed of the processes. In Java programming, Java Virtual Machine (JVM... and allows other threads to execute. Example of Threads in Java: public class
java - Java Beginners
Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one CPU is involved.... Multitasking allow processes (i.e. programs) to run concurrently on the program
Multithreading in Java
Multithreading in Java      ... the multitasking. Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one CPU
Multithreading in Java
Multithreading in Java     ... the multitasking. Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking only one
java - JSP-Servlet
is the difference between multitasking and multithreading
Multithreading in Java
Multithreading in java is running multiple threads sharing same address space... at a time is called Multitasking. (A CPU does multitasking all the time). Now, multitasking can be carried out in two ways: Multiprocessing Multithreading
java
java  diff bt core java and java
java
java  what is java
Java - Threads in Java
Java - Threads in Java       Thread is the feature of mostly languages including Java. Threads... running process and start or resume the suspended processes. Multitasking
JAVA
JAVA  how the name came for java language as "JAVA
java
java   why iterator in java if we for loop
java
java  explain technologies are used in java now days and structure java
java
java  different between java & core java
Java
Java   Whether Java is pure object oriented Language
java
java  is java open source
java
java  what is java reflection
java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
Classes in Java
Classes in Java      ... java have mechanisms for handling exceptions. This is known as catching exception in Java. The exceptions that occur in the program can be caught using try
java
java   What is ?static? keyword
java
java  RARP implementation using java socket
java
java  sample code for RARP using java
java
java  Does java allows multiline comments
Java
Java  how to do java in command prompt
java
java  give a simple example for inheritance in java
java
java  give a simple example for inheritance in java
java
java  why to set classpath in java

Ads

 
Advertisement null

Ads