WHAT IS THE DIFFERENCE BETWEEN MULTI-THREADING AND MULTI-PROCESSING?

Questions by juluru_manoj28   answers by juluru_manoj28

Showing Answers 1 - 16 of 16 Answers

mainly multi-threading is we can open multiple pages what ever we like  but    we cannot process at a time even then the multi processing can do or process different pages at a time while one page is processing we can make at that time we can process other page also. 

YON

  • Feb 15th, 2006
 

Multitasking is running several processes at a time. Multi threading runs several threads of a single process at a time.The priority levels of threads are from 1-10.Normal priority comes to 5. Multi threading is normal in any window environment, otherwise the screen would stuck everytime you clicked on something until that execution was accomplished.

mouli varma

  • Feb 18th, 2006
 

multithreding means we can excute different parts of a program simaltaniously

multiprocessing means excute different parts of a program at a time

  Was this answer useful?  Yes

mca_udit

  • Feb 26th, 2006
 

hey i think multi-processing is done at the coarse gain level where we have so many programs to execute and we have to stabilish concurrency...while the multitasking is done at the fine gain level where we have only 1or 2 program and we have to divide the program into threads and run concurrently.......mca_udit@yahoo.com

  Was this answer useful?  Yes

Lalitha Subramanyam

  • Mar 2nd, 2006
 

Hi pals,

    Multithreading is the ability to perform different tasks of a process simultaneously.This is achieved by using  a seperate thread for each task.Though there are several threads in a process, at a time the processor will handle only a single thread.Though it appears to be concurrent processing to the end user, internally only single thread will be running.Processor is able to multitask by switching between the threads.

   When it comes to Multiprocessing there will be more than one processor and each thread will be handled by a different processor.Thus leading to concurrent processing of tasks.

Thanks,

Lalitha Subrahmanyam

  Was this answer useful?  Yes

multi processing means we can execute several programs at a time and multi threading means executing diffrent parts of the program at a time

for example if we take we can open several pages at a time in multi threading and we can process only one page at a time with preference 5. The thread have the preference 1-10 normal preference given to any thread is 5

where as in multi process we can open multiple pages and we can process all the pages at once

  Was this answer useful?  Yes

anil

  • Mar 13th, 2006
 

Processing different processes on different threads is multi processing whereas processing same process on different threads is multithreading.

  Was this answer useful?  Yes

chahal_khushiwnder@yahoo.co.in

  • Mar 14th, 2006
 

There is no difference between multithreading and multiprocessing its the only ur illusion.

  Was this answer useful?  Yes

culver_lake

  • Mar 19th, 2006
 

Everyone is making this more difficult than it needs to be.  There is certainly a difference and it doesn't require more than one processor.

multiprocessing (early 1970's) ability to run more than one program at a time on a machine

Multi threading (later 1970's) one copy of the program code in memory, many processes sharing the code. (CICS is a perfect example and one of the oldest products based on multi threading). Associated terms: reentrant code, quasi-reentrant code.

  Was this answer useful?  Yes

Radhika

  • Apr 3rd, 2006
 

I found that Ms.Latha and Mr/s culver_lake have given most clear explanation to a rather confusing question.Thanks for clarifying the concept.

Radhika.

  Was this answer useful?  Yes

deenesh

  • Apr 18th, 2006
 

 ya lalitha, good answer

  Was this answer useful?  Yes

Multi processing means executing several programs at a time using more than one processor.

Multi tasking means executing several programs at a time using only one processor. (Round robin processor time-sharing algorithm)

Multi threading means executing diffrent parts of a program simultaneously (Round robin processor time-sharing algorithm)

Multi processing means executing several programs at a time using more than one processor.

Multi tasking means executing several programs at a time using only one processor. (Round robin processor time-sharing algorithm)

Multi threading means executing diffrent parts of a program simultaneously (Round robin processor time-sharing algorithm)

Processor allocates some memory for each program to be executed. Hence each process (program which is being executed) has its own memory. Whereas in Multi-threaded program, the program itself is divided into different parts (threads) which share the memory & processor time and will be executed simultaneously. Thus, thread is also called as light-weight process.

Since each process has its own memory & CPU (processor) time, inter-process communication is very difficult to achive, whereas inter-thread communication is very easy because all the threads of a program share common memory and processor time ( in round robin fashion ).

// Written by Seetha Ram Janapala -- sitaram81581@rediffmail.com

  Was this answer useful?  Yes

Rohit sachan

  • Jul 24th, 2006
 

in multithreading as name suggest has more than one thread running in multi processing more than one process..Now question is whts difrence b/w thread and process .. diffrence is threads usees same data segment means same heap in JVM will be shared by Threads and in multiprocessing diffrent data segements are required ..so Processes are heavier than Threads for Processor.Runing JVM is a process and Doing runnable tasks by Threads are obviously threads for JVM..:)

  Was this answer useful?  Yes

Vara Rama Krishna Chadaram

  • Aug 7th, 2006
 

MULTI-THREADING :
It refers to the ability of the operating system to execute multiple parts of a process simultaneousliy.

MULTI-PROCESSING:
It refers to the ability of the operating system to execute multiple programs simultameously .The process time is shared between the programs.

  Was this answer useful?  Yes

multi processing is term that multi program can execute with multi processor that can share the same physical memory space.

on the other hand multi-threading is that different program can execute on different time on simultaneously that can share same memory address space.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions