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

How to make Pancakes

Blog banner

Fashion marketing in india

Blog banner

Paging

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

Hubspot

Blog banner

VIRTUAL MACHINE

Blog banner

Ethical Hacking

Blog banner

STARVATION

Blog banner

How Does Preschool Help Children Become Better Decision Makers?

Blog banner

GUIDE TO GIS

Blog banner

All you need to know about “On-page SEO”

Blog banner

Getting started with Android Studio

Blog banner

The Memory Hierarchy

Blog banner

Tracking Emails & Email Crimes

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

memory cache

Blog banner

Puri Jagannath temple

Blog banner

City2Surf & Spring Fitness Recovery Guide: How Sports Drinks Silently Damage Enamel

Blog banner

Outlook mail

Blog banner

memory management

Blog banner

Boxing

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

The evolution of OS

Blog banner

Not anti-social, but pro-solitude

Blog banner

What is M-commerce and how it's work

Blog banner

E-security systems | CCTV

Blog banner

Types of Threads

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

TAILS OS

Blog banner

Uniprocessor and Types

Blog banner

Microsoft powerpoint presentation

Blog banner

Mendeley (management software)

Blog banner

A Deep Dive

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

What Is Experiential Learning and Why Does It Work Better Than Rote Learning?

Blog banner

10 Interesting Facts about Death Note

Blog banner

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

Blog banner

How chatGPT Is Changing SEO: What Every Business Needs to Know in 2026

Blog banner

Synchronization

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

Data Structures

Blog banner