wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Multithreading in Operating System

profile
Kanak Patel
Jul 12, 2023
0 Likes
0 Discussions
19 Reads

To understand multithreading first you need to understand thread. Thread is basically a single sequential flow of activities being executed in a process. When multiple threads are executed in a process at the same time, we get the term 'Multithreading'.

For example in a web browser, we can have one thread which handles the user interface, and in parallel we can have another thread which fetches the data to be displayed. So multithreading improves the responsiveness of a system. Multithreading can also handle multiple requests from the same user

Multithreading refers to an operating systems capacity to support much execution among threads within a single process. All threads inside a process will have to share of resources such as code, data, files, and memory space with its peer thread, but stacks and registers will not be shared, and each new thread will have its own stacks and registers.

Requests from one thread do not block requests from other threads, which improves application responsiveness. Multithreading also reduces the number of computing resources used and makes them more efficient. Multithreading is the event of a system executing many threads, with the execution of these threads being of two types: concurrent and parallel multithread executions.

Concurrent execution of threads is defined as the ability of a processor to move execution resources between threads in a multithreaded process on a single processor. When each thread in a multithreaded process may execute on a distinct processor at the same time, it is referred to as parallel execution.


Comments ()


Sign in

Read Next

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

american greatines

Blog banner

Spotify

Blog banner

LIMITED EDITION

Blog banner

BENIFITS OF YOGA

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Understanding Loneliness: Why We Feel Disconnected in a Connected World (Part -1)

Blog banner

Why Khari and toast is the ideal Tea Break snack?

Blog banner

PERT Overview

Blog banner

Data Exfiltration

Blog banner

Big O Notation

Blog banner

INTERNET

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

Artificial Intelligence (AI)

Blog banner

The Chapped Lips and Dry Mouth Trap: The Sneaky Reason Cavities Spike in Winter

Blog banner

Threading

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

OS- Assignnment 1

Blog banner

How to Conquer Depression ?

Blog banner

Ethical Hacking

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Blockchain in IoT Applications

Blog banner

Design Considerations for Disk Cache Management

Blog banner

De-Coding Love

Blog banner

A Deep Dive

Blog banner

Short note on Microsoft office

Blog banner

Why Summer Break Is Important for Emotional and Cognitive Growth?

Blog banner

From Model Mistakes to Metrics

Blog banner

ZOHO

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Virtual Memory

Blog banner

Hey Aryan here

Blog banner

My First Dream Bike

Blog banner

Domain Name System

Blog banner

Coping with Diagnosis Shock

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

Travelling blog

Blog banner

The Role of Data Provenance and Lineage in Modern Data Science

Blog banner

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

computer security

Blog banner