Java multitasking

Java multitasking

What is multi-tasking Types?
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.









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
ModuleNotFoundError: No module named 'multitasking'
ModuleNotFoundError: No module named 'multitasking'  Hi, My Python... 'multitasking' How to remove the ModuleNotFoundError: No module named 'multitasking' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'multitasking'
ModuleNotFoundError: No module named 'multitasking'  Hi, My Python... 'multitasking' How to remove the ModuleNotFoundError: No module named 'multitasking' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'multitasking'
ModuleNotFoundError: No module named 'multitasking'  Hi, My Python... 'multitasking' How to remove the ModuleNotFoundError: No module named 'multitasking' error? Thanks   Hi, In your python
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.ADS_TO_REPLACE_1 Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking
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... temporarily and allows other threads to execute. Example of Threads in Java
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.ADS_TO_REPLACE_1 Multitasking : Multitasking allow to execute more than one tasks at the same time, a task being a program. In multitasking
Multithreading in Java
Multithreading in Java     ... the multitasking.ADS_TO_REPLACE_1 Multitasking : Multitasking allow.... In multitasking only one CPU is involved but it can switches from one program to another
What is Multithreading in Java?
What is Multithreading in Java and how to create Multi threaded...; In this tutorial we are going to discuss the multithreading concept of Java. You will learn What is Multithreading in Java and how to create Multi
What is Multithreading in Java?
What is Multithreading in Java and how to create Multi threaded...; In this tutorial we are going to discuss the multithreading concept of Java. You will learn What is Multithreading in Java and how to create Multi
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:ADS_TO_REPLACE_1 Multiprocessing
java - JSP-Servlet
is the difference between multitasking and multithreading
Uses of Android Technology
phones because of their great multitasking capabilities and a completely innovative... functions and needs. Purely multitasking is the most common standard of almost... on the enormous multitasking capabilities and on being in the forefront of regularly coming
PBX
PBX       PBX refers to Private Branch eXchange, a private owned multitasking exchange system that is being popular in the small and big institutes and corporation houses because
Social Media Marketing Advertising Strategy
easy, social media marketing requires multitasking to be called effective
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
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
Thread Deadlocks - Java Tutorials
Thread Deadlock Detection in Java Thread deadlock relates to the multitasking. When two threads have circular dependency on a synchronized, deadlock is possible. In other words, a situation where a thread is waiting for an object
An Overview of Java      Java is a programming language      Java is Object Oriented Programming
Master java in a week       An Overview of Java Starting Java   Java as a programming language Java is an Object oriented
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
Parallel Processing
; Introduction:   Threading concept is very important in Java Programming.... Parallel processing differs from multitasking, in which a single CPU executes several programs at once.ADS_TO_REPLACE_1 Multitasking & Multithreading:  
UNIX - Java Beginners
. Advantages of Unix: 1) Full multitasking with protected memory. Multiple
java
java  diff bt core java and java
java
java  what is java
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
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
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
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  Write a java code to print "ABABBABCABABBA
java
java  write a program in java to acess the email
java
java  send me java interview questions

Ads