wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and alse multithreading

profile
Khushi Kuvadiya
Aug 04, 2023
1 Like
0 Discussions
101 Reads

Q. What is Threads? And what you you mean by Multi-Threading? 

ANS. Within a program, a Thread is a separate execution path. It is a lightweight process that the operating system can schedule and run concurrently with other threads. The operating system creates and manages threads, and they share the same memory and resources as the program that created them. This enables multiple threads to collaborate and work efficiently within a single program.A thread is a single sequence stream within a process. Threads are also called lightweight processes as they possess some of the properties of processes. Each thread belongs to exactly one process. In an operating system that supports multithreading, the process can consist of many threads.

Why Multi-Threading. 

A thread is also known as a lightweight process. The idea is to achieve parallelism by dividing a process into multiple threads. For example, in a browser, multiple tabs can be different threads. MS Word uses multiple threads: one thread to format the text, another thread to process inputs, etc. More advantages of multithreading are discussed below.Multithreading is a technique used in operating systems to improve the performance and responsiveness of computer systems. Multithreading allows multiple threads (i.e., lightweight processes) to share the same resources of a single process, such as the CPU, memory, and I/O devices


Comments ()


Sign in

Read Next

GIS in Disaster Management

Blog banner

Penetration Testing

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Different Types of Data

Blog banner

Fashion design

Blog banner

Operating Systems Overview

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

5 Powerful Mindset Shifts To Make 2026 Your Breakthrough Year

Blog banner

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

Paginng In OS

Blog banner

Bit Coins

Blog banner

GraphQL

Blog banner

M commerce

Blog banner

Ubiquitous Computing

Blog banner

Service Catalogue Management

Blog banner

Security and E-mail

Blog banner

A Traveller’s Guide to Offbeat Places in Arcadia, Florida

Blog banner

How Cyber Forensics use in AI

Blog banner

Zero-Day Attack

Blog banner

What is Minting & Mining

Blog banner

Use case of K-means clustering

Blog banner

VIRTUAL MACHINE

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

Does School Infrastructure Really Matter For Learning?

Blog banner

Modern Operating System

Blog banner

Open Source Project By Google

Blog banner

How to Manage Employees and Tasks in One System (Without Excel)

Blog banner

Art and Culture of Rajasthan

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

Why Meal Maharaj Prioritises Seasonal Vegetables in Every Meal Box

Blog banner

Mobile Security

Blog banner

Virtual Machine

Blog banner

CYBER SECURITY CHALLENGES

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Virtual Machine

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

I/O Buffering

Blog banner

Vulnerability Assessment

Blog banner

Virtual Memory

Blog banner