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

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

virtual memory

Blog banner

TAILS OS

Blog banner

Service Operations Principles

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Jira Software

Blog banner

Real time scheduling

Blog banner

Does School Infrastructure Really Matter For Learning?

Blog banner

What is OS and its overview

Blog banner

What is process

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Process Creation

Blog banner

OPERATING SYSTEM

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

An Overivew Of Cache Memory

Blog banner

Balance

Blog banner

GraphQL

Blog banner

IP Address

Blog banner

HR Automation : Need of the hour

Blog banner

The Golden Temple , Amritsar

Blog banner

NETSUITE

Blog banner

Modern Operating system

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Mumbai

Blog banner

Software Piracy & Online Data Protection in Digital World

Blog banner

Scheduling

Blog banner

Cyber Security Standards

Blog banner

MAILFENCE

Blog banner

OS Assignment 3 Deadlock

Blog banner

DATA WRANGLING

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Getting started with Android Studio

Blog banner

I/O Buffering

Blog banner

Memory Management Techniques

Blog banner

IT Service as as Value Creation

Blog banner

MACHINE LEARNING

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

GIS Mapping

Blog banner

Creating Digitally Signed Document

Blog banner

Spyware

Blog banner