answersLogoWhite

0

Both terms are used to describe a computer process known as multi-tasking, where a single CPU core switches between tasks periodically to reduce inefficiency and wasted time, and to allow the user to perform multiple tasks at the same time. The difference between the two are technical distinctions, rather than a difference in their intended effect.


Multiprogramming was the first form of multi-tasking, and introduced in the the concept of yielding. When an instruction could not be completed immediately (such as when reading from a disk or other slowperipheral, the current task was set aside, and another task would run until the data from the paused task was ready.


Some time later, time sharing was introduced to allow more fine-grained control over the yielding process. The first form was known as cooperative time sharing. In this model, a program would run for a while and then willingly relinquish control so that another process could have a chance. This was referred to as cooperative time sharing. This model had some drawbacks, as programs could be written incorrectly and fail to yield in a timely manner, causing the system to become slow and unresponsive. Additionally, programs cooperated in the same unprotected memory space, so a crash of one program meant that the entire system could be brought down by a single fault.


Advances in hardware allowed for the processes to be interrupted by the operating system. This brought about the next generation of time sharing, known as preemptive time sharing. Along with this model came advances in virtual memory that allowed each program to run in its own virtual memory space. No longer would a single program cause a systemic crash, and a program could no longer fail to yield (in theory, at least).

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Is unix is multitasking or multithreading?

It uses both techniques.


Is unix operating system multitasking or multithreading?

It uses both techniques.


Difference between time sharing and multitasking and multithreading and multiprocessor?

multitasking: more task execute on sevaral cpumultithreading : sevaral part of one program execution


What where the key motivations for the development of multiproccessing and multiprogramming?

whar are key motivation for the development of multiprogrammig,multitasking,multithreading


How does multithreading differ from multitasking?

Multitasking is the execution of 2 or more programs at one time. Multithreading "threads" may be a stand-alone task. Video can be a thread and audio as another single program or application so it can be executed as two or more "threads" of instruction. Processors must support multithreading (processing) abilities of hardware to run two programs at once.


Performing more than one task at a time using different software programs is called?

multitasking.


What is the difference between conventional C and embedd C?

Advantages: - Priority based premptive scheduling -multitasking -multithreading -better response time -valuable services like senaphore,mailbox,queues etc. Disadvantages: -expensive Advantages: - Priority based premptive scheduling -multitasking -multithreading -better response time -valuable services like senaphore,mailbox,queues etc. Disadvantages: -expensive


What are main differences between cooperative multitasking and preemtive multitasking?

Preemptive multitasking is when the operating system preemptively interrupts a current task without cooperation. Cooperative multitasking is when the system must be programmed to do tasks.


Similarities and differences of Creation and Evolution?

similarities


What are the similarities and differences in windows?

When you ask for similarities and differences, you must have a second target to compare to.


When you compare do you find similarities or differences?

Usually comparing brings about similarities. Contrasting brings differences.


Similarities and differences between Britain and Nigeria education?

differences: britain better Similarities: education