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

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Bharat Maps

Blog banner

Search Marketing In 2026: From Keywords To Credibility And User Intent

Blog banner

Article on Team Work

Blog banner

My Favorite Country

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Data Structures

Blog banner

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

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Fault Tolerance

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

bulk email software

Blog banner

Buffering

Blog banner

Data Storytelling: Turning Analysis into Business Action

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Service design process in ITSM

Blog banner

Caching windows

Blog banner

objectives and function of operating system

Blog banner

Assignment 2

Blog banner

What is Brute Force Attack? How to defend against it?

Blog banner

Types Of Interrupt

Blog banner

Landslide Hazard

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

GraphX:- A graph processing tool

Blog banner

INTERNET

Blog banner

Clarizen

Blog banner

Deadlock and starvation

Blog banner

Latest Email Marketing Techniques

Blog banner

Process states

Blog banner

Mesh Topology

Blog banner

Multicore and Multithreading

Blog banner

GIS info about Bermuda Triangle

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

AI and cyber Security

Blog banner

How to insert contacts in zoho crm using php

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

Digital Marketing - The new way to reach end consumer

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

Define Instagram.

Blog banner

Cybersecurity Standards for Automotive

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner