wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process and Threading

profile
Shipra Maurya
Jul 11, 2023
1 Like
0 Discussions
137 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

Women Empowerment

Blog banner

Multiprocessor and Multicore Organization

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

Safeguarding Your Data: The Importance of Wireless Encryption

Blog banner

What is Internet

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

Virtual Memory

Blog banner

Understanding the 4 Types of Learning Methods in Early Childhood

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

Spyware

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

Rain

Blog banner

VIRUS

Blog banner

Memory Management of Operating System(OS)

Blog banner

File management in os

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

Operation system

Blog banner

Cross site scripting Attack

Blog banner

Modern operating system

Blog banner

Mumbai

Blog banner

How to tie a Tie

Blog banner

BUFFER OVERFLOW_142

Blog banner

Firewall in Computer Network

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Incorporating Automation into Digital Forensics.

Blog banner

Security in Operating Systems

Blog banner

Guidelines for a low sodium diet.

Blog banner

Finding Meaning, and Identity : Understanding Existential Concerns and Mental Well-being

Blog banner

How to insert contacts in zoho crm using php

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

Deadlock

Blog banner

Operating System

Blog banner

Types of OS

Blog banner

Shoulders

Blog banner

Cache Memory

Blog banner

Google classroom

Blog banner