wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and multithreading ?

profile
Sumit Alu
Aug 04, 2023
0 Likes
0 Discussions
116 Reads

Q. What is Threads? And what  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 Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Deadlocks

Blog banner

Direct Memory Access

Blog banner

Education?

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner

INTRODUCTION

Blog banner

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

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

Risk mitigation and management

Blog banner

PERSONAL STORIES

Blog banner

Difference Between Classification And Clustering

Blog banner

Mental Health in an Ageing Population: Supporting the Mind Through Life’s Transition

Blog banner

Types of Threads

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

How return on investment is defined in IT services

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

Uniprocessor and Types

Blog banner

Developments in Modern Operating Systems

Blog banner

Virtual memory in os

Blog banner

Reconnaissance

Blog banner

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

MACHINE LEARNING

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

Password Generator - Lisp

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

Is Your Password Complex Enough?

Blog banner

child Labour

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

The Five Steps of Data Science

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

Types of E-Commerce

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Objectives and Functions of Operating System

Blog banner

EID UL FITR

Blog banner

Virtual memory

Blog banner

Computer Security

Blog banner

5 Powerful Mindset Shifts To Make 2026 Your Breakthrough Year

Blog banner

What are Virtual Machines

Blog banner

I/O Management and Disk Scheduling

Blog banner

My favourite food

Blog banner

History of Money

Blog banner