What is the difference between task, process, application, and thread?
task, process, and application every thing is same. but thread is a part of process.
process and application are same. Task may contain 1 or more applications. thread is an internal part of a process created by OS.
process and task are same. application means program. thread is part of task.
process and thread are same. similarly application and thread are same.
Process - every instance of an application being executed is called as process. You execute same application two times, it will create 2 processes.
Application - is generalized term of a process.
Task - can have one or more applications in it.
eg: task of sending a message : we will start with message application, lets say i want to attach a photo to my message, then i will open gallery application also. In this case my task has got two applications, messaging and gallery application.
Thread - theoretically thread is a light weight process, or part of process.Practically thread is dispatch-able unit to CPU, and it is internal part of a process. With out a thread in your program it is difficult to execute your application.application. That's why by default every process will have at least one thread created by Operating system.
Back To Top