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

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

ProofHub

Blog banner

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

Blog banner

MODERN OPERATING SYSTEM

Blog banner

De-Coding Love

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Be you

Blog banner

operating system

Blog banner

What is Network Security?

Blog banner

Deadlock

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

Lucidchart

Blog banner

Note Taker App

Blog banner

Service transition principles

Blog banner

Multicore and Multithreading

Blog banner

Marvel Cinematic Universe

Blog banner

What are Tenders its various types

Blog banner

Threads in OS

Blog banner

Zero-Click Searches: How To Stay Visible In Google’s New Era

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Operating System Objectives and Functions

Blog banner

What Your Music Taste Reveals About Your Personality

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

A small world of Sockets

Blog banner

Virtual Machine

Blog banner

File Management In OS

Blog banner

Short note on Microsoft office

Blog banner

5 Powerful Mindset Shifts To Make 2026 Your Breakthrough Year

Blog banner

Concurrency and Deadlocks

Blog banner

Life of a 2020-2021 student

Blog banner

Memory Management

Blog banner

IT GOVERNANCE

Blog banner

Study of Backdoor and Trojan tools

Blog banner

File Allocation Methods

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

Have You Explored India Yet?

Blog banner

A Deep Dive

Blog banner

Uniprocessor Scheduling

Blog banner

FREE VERSION OF G-MAIL

Blog banner

Zero-Day Attack

Blog banner

Theads

Blog banner