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

Virtual memory

Blog banner

Understanding E-mail Servers

Blog banner

SECURITY RISKS OF REMOTE WORKING

Blog banner

Photography

Blog banner

Why Friendship at Work is Important

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

Digital Forensics Challenges and Tools

Blog banner

Software

Blog banner

Interrupts in OS

Blog banner

Functions Of Operating Systems

Blog banner

Modern operating system

Blog banner

WAKE UP ITS FOOD o'CLOCK...!!!!!

Blog banner

Im Photographer

Blog banner

Memory Management

Blog banner

MEMORY MANAGEMENT

Blog banner

Memory Management

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Traveling

Blog banner

Steganography and Steganalysis

Blog banner

Atlantis - The Lost Island.........

Blog banner

Career v/s Job : Choose your passion

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

10 Interesting facts you should know!!!

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

Old age lifestyle

Blog banner

Apple

Blog banner

Is Your Password Complex Enough?

Blog banner

Buffers in Operating Systems

Blog banner

Landslide Hazard

Blog banner

FASHION

Blog banner

operating system

Blog banner

Odoo

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

VIRTUAL MEMORY

Blog banner

Development Of Modern Operating System

Blog banner

Virtual Memory

Blog banner

Go Daddy

Blog banner

OPERATING SYSTEM

Blog banner

differentiate thinking humanly and rationally

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

The Right way of cooking

Blog banner