The same metaphor: the difference of a person (thread) and a family (process)
A process has at least 1 thread and may have many threads, while 1 thread must live within a process
A thread must live or run within a process, while a process has at least 1 thread running.
The same metaphor: the difference of a person (thread) and a family (process)
A process has at least 1 thread and may have many threads, while 1 thread must live within a process
A thread is a sub process in other words one process can contain multiple threads.
Basically no difference, except that process can use many threads; thread can use only one.
No.
A virus runs in a thread, as do all programs. The difference between a generic thread and a virus is that the thread may not be harmful, while the virus generally is.
Process based is much time as comparison as thread based. as well as Thread based application is cost effective. Process based application has its own address space so it take more cost. Alok Gupta. India.
In computing terms - A 'thread' is a topic of discussion, and a 'post' is a response to the 'thread'.
The difference between thread rope and string is that thread is more thicker than string and that string is more thinner than rope and thread is more thinner than rope there's your answer geese
It has been suggested that process switching and thread switching be merged into this article or section. (Discuss) Proposed since April 2012.
The difference between thread rope and string is that thread is more thicker than string and that string is more thinner than rope and thread is more thinner than rope there's your answer geese
A process is a collection of threads that share the same virtual memory. A process has at least one thread of execution, and a thread always run in a process context. Thread is used to allocate and distribute the CPU work scheduling, many programs a re assigned to different threads and they are most of the time independent of each other. Eg: We can open many instance of MS word and MS Excel in our PC, all are monitored and managed by threads. Process is nothing but a program in execution, many threads can run under a process or many thread can combined under the one thread.
Wait is to wait for a process to reach an event, sleep is to wait for the thread to reach a ticked event at a specific time.
Light weight is called as a thread which runs inside a process and a heavy weight is a system process. As the thread share the memory of heavy weight then we can say that it is not taking any additional resources(memory) to execute. As a process is a combination of one of more then one threads and each process is having the separate memory location so it is very easy for thread to communicate with each other as compare to two process communicate because thread communicate within same memory but process communicate with other process having different memory location. Here we can consider light weight as a thread and heavy weight as a process.