wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Multithreading in Operating System

profile
Kanak Patel
Jul 12, 2023
0 Likes
0 Discussions
16 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

OS Assignment 3 Deadlock

Blog banner

Service Operations Principles

Blog banner

Virtual machine.

Blog banner

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

Blog banner

Os assignment

Blog banner

Mumbai local ......

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

Full Disk Encryption

Blog banner

Spyware

Blog banner

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

Blog banner

DIGITAL ECONOMY

Blog banner

Man VS Nature

Blog banner

Buffer overflow

Blog banner

Benefits of Yoga

Blog banner

Safeguarding Your Data: The Importance of Wireless Encryption

Blog banner

5 People who claimed to have Time Traveled

Blog banner

E-Governance

Blog banner

How can parents support a child’s mental health?

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

Operating system

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Tools to support CSI activities

Blog banner

Disk Management

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

How to kiss

Blog banner

Hey Aryan here

Blog banner

Data Science in Mental Health Prediction

Blog banner

Importance of Network Security Risk

Blog banner

Threads

Blog banner

Process Creation

Blog banner

Disk Management

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

Health and fitness

Blog banner

Memory Management of Operating System(OS)

Blog banner

CSI and Organizational Change

Blog banner

10 Signs your Computer has Virus

Blog banner

1.1 basic elements

Blog banner

What are Tenders its various types

Blog banner

Defining youtubr

Blog banner

Operating System

Blog banner

Demystifying Cryptography: A Beginner's Guide

Blog banner

Threat management

Blog banner