Proces vs Thread

Process : Is an executing instance of an application . They run in separate memory space unlike threads. To put it in simple terms, we write our computer programs in a text file and when we execute this program, it becomes a process which performs all the tasks mentioned in the program. Example: when you double-click the Microsoft Word icon, you start a process that runs word. Threads : are path of execution within a process . Threads within the same process runs in a shared memory space . ----------------------------------------------------------------- ----------------------------------------------------------------- U may have heard process is heavy weight . actually when process is created Operating system creates a PCB (process control block) which includes may things like process id - Unique identification for each of the process in the operating system. pointers - A pointer to parent process. state -The current state...