wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process and Threading

profile
Shipra Maurya
Jul 11, 2023
1 Like
0 Discussions
136 Reads

In multiprocessing task, process is heavy weight task. It creates a child process same as the parent process when the parent process is busy. It has its own data and code to run the process this known as fork system call. 
Multithreading refers to the ability of an OS to support multiple, concurrent paths of execution within a single process. In multithreading task, threads light weight task.  In thread if we are creating thread of a process or dividing a process in multiple threads, then all threads will share same data and same code means there will not be over heading of data and code. But its own stack and register for every thread in the same process.
    Process                                                        Threads
1. System calls involved in process.                There is no system call involved
2. OS treats different process differently.        All user level threads treated as single task for OS
3. Different process has different copies        Threads share same copy of code and data
    of data, files, code.
4. Content switching is slower.                        Content switching is faster.
5. Blocking a process will not block                 Blocking a thread will block entire process.
    another process.
6. Independent.                                                Interdependent. 


Comments ()


Sign in

Read Next

Dr. Venkadavarahan

Blog banner

Virtual Machine

Blog banner

The art of being alone

Blog banner

PERSONAL STORIES

Blog banner

1.1 basic elements

Blog banner

Hacking of web server and application

Blog banner

Corporate Discipline.

Blog banner

Why we fail after giving 100% ?

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

Lucidchart

Blog banner

Computer security techniques

Blog banner

Understanding Mobile Device Forensics

Blog banner

Computer Security

Blog banner

File system implementation

Blog banner

Deadlock Prevention

Blog banner

Cyber Security in Data Breaching

Blog banner

How to grow followers on Instagram business account?

Blog banner

Sagar Parikrama

Blog banner

OPERATING SYSTEM

Blog banner

Basic Security For SOAP Services

Blog banner

Getting started with Android Studio

Blog banner

Decoding Confusion Matrix

Blog banner

Life lesson

Blog banner

Platonic Solids

Blog banner

Security Breaches in Stock market trading

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

How to Conquer Depression ?

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

What is E-commerce

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Virtual Machine

Blog banner

Virtual memory

Blog banner

Functions Of Operating Systems

Blog banner

Study of Sniffing Tools

Blog banner

internet email and it's applications

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Memory heirachy (Operating system)

Blog banner

Deadlock

Blog banner

What is service level Agreement?

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

What is thread and alse multithreading

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner