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

Password Generator - Lisp

Blog banner

Deadlock

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

Virtual Machine

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

ZOHO

Blog banner

LinkedIn

Blog banner

Women empowerment

Blog banner

Virtual memory in Operating System

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Memory Management

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Processes: Process Description and Control.

Blog banner

10 Signs your Computer has Virus

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Have You Explored India Yet?

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

OPERATING SYSTEM

Blog banner

Linux Memory Management

Blog banner

PYTHON

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Deadlock

Blog banner

How to Avoid being a Victim of Cybercrime

Blog banner

What is Segmentation?

Blog banner

Why Users Leave Your Website in 5 Seconds (And How UI/UX Fixes It)

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

Email Privacy

Blog banner

Theads

Blog banner

TAILS OS

Blog banner

Threat management

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

Modern operating system

Blog banner

Explain Kernel in OS

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

Logical and physical address

Blog banner

Memory managment

Blog banner

Rain

Blog banner

Operating system

Blog banner

Modern Operating System - Suren Kotian

Blog banner

Operating system

Blog banner