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
103 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

Network Forensics

Blog banner

RAID

Blog banner

The seven-step improvement process

Blog banner

WomenEmpowerment

Blog banner

12 Principles of Animation

Blog banner

Everything You Need for a Perfect Stay in Arcadia, Florida, USA.

Blog banner

Answer

Blog banner

Electronic Funds Transfer

Blog banner

Deadlock and Starvation

Blog banner

Data Science & AI

Blog banner

Protein and Energy: Why Your Workday Diet Needs More of It

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

"Life as a Part-time Student"

Blog banner

Daycare Centres Help Children Transition into Structured Learning

Blog banner

File Allocation Methods

Blog banner

Computer Security

Blog banner

How Does Preschool Help Children Become Better Decision Makers?

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

Recipe of Paneer Butter Masala

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Big Data Architecture

Blog banner

My Favorite Sportsperson

Blog banner

E-Governance

Blog banner

Data Mining

Blog banner

geographic information system (GIS)

Blog banner

GIS Topography

Blog banner

Concurrency management in operating systems

Blog banner

Why Meal Maharaj Prioritises Seasonal Vegetables in Every Meal Box

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Mumbai local ......

Blog banner

What is OS Fingerprinting?

Blog banner

Assignment-3

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

Deadlock in Operating systems

Blog banner

Latest Email Marketing Techniques

Blog banner

Making Money through Instagram

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Fashion marketing in india

Blog banner

How to Run your First android App

Blog banner

Race Condition

Blog banner

Session Hijacking

Blog banner