wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and multithreading ?

profile
Sumit Alu
Aug 04, 2023
0 Likes
0 Discussions
115 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

VPN

Blog banner

COMPUTER FORENSICS AND GRAPHICS

Blog banner

"Audit" In Data Science

Blog banner

Virtual memory

Blog banner

Photography

Blog banner

ZOHO

Blog banner

Artical on FreshBooks

Blog banner

Explain Multiprocessors

Blog banner

Not anti-social, but pro-solitude

Blog banner

Way to make your meal healthier.

Blog banner

Modern Operating System

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Jira Software

Blog banner

VIRTUAL MACHINE

Blog banner

Virtualisation

Blog banner

Web Site

Blog banner

What is Virtual Memory

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

Different Types of Data

Blog banner

Disk scheduling

Blog banner

differentiate thinking humanly and rationally

Blog banner

Life lesson

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

Blog on health and fitness

Blog banner

Cache memory

Blog banner

Webmail

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

The Future of Cybersecurity: Trends, Challenges, and Strategies

Blog banner

evolution of operating system - Disha Parekh

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

OPERATING SYSTEM

Blog banner

Booting Process In Operating System

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

Operating system

Blog banner

Memory Management

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

Meshoo

Blog banner

Memory Management

Blog banner

Introduction my self

Blog banner

VIRTUAL MACHINES

Blog banner