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

Improving defences Proxy Device(defense in depth)

Blog banner

THE ACTORS LIFE

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

Virtual memory in windows

Blog banner

Virtual machine.

Blog banner

MYNTRA

Blog banner

Operating system

Blog banner

Data Exfiltration

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Evolution of Operating system.

Blog banner

Virtual Memory

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

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

Blog banner

Instagram

Blog banner

Uniprocessor Scheduling

Blog banner

OS Assignment-3

Blog banner

Security requirements for Safe E-Payments

Blog banner

TRAIN TRAVELING

Blog banner

Hash password! Is it really secured?

Blog banner

Uniprocessor scheduling

Blog banner

Device driver

Blog banner

Message Passing in OS

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

"Games and the future"

Blog banner

Race Conditions

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Operating Systems

Blog banner

OS ASSIGNMENT

Blog banner

Multiprocessor and scheduling

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

HubSpot

Blog banner

Multithreading in Operating System

Blog banner

Operating system

Blog banner

Art and Culture of Rajasthan

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

Memory Management

Blog banner

M commerce

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner