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

Facebook marketing

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

Segmentation and paging concept

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

Save Environment

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Theads

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

Steganography and Steganalysis

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Why is online marketing is important in current scenario

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

Sweet Mango Murabba

Blog banner

Memory management

Blog banner

Drawing tips for a beginner

Blog banner

Rain

Blog banner

E-commerce

Blog banner

RAID

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

I/O Buffering

Blog banner

Evolution of Operating System

Blog banner

Smartsheet

Blog banner

Memory Management

Blog banner

Predictive Analysis - Ek Overview

Blog banner

Hacking of web server and application

Blog banner

Virtual machine and virtualizing

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Sessions In OS.

Blog banner

Data Analytics in Data Science

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Indian Culture and Tradition

Blog banner

OS- Assignnment 1

Blog banner

Predictive Analytics: How Data Science Predicts Trends(Weather ,Stock Market,Sales Forecasting ).

Blog banner

Functions of Operating System

Blog banner

File management in os

Blog banner

HR Automation : Need of the hour

Blog banner

Expert System In AI

Blog banner