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

E-Governance

Blog banner

Steganography

Blog banner

File Management system

Blog banner

Deadlock

Blog banner

Types of Threads

Blog banner

Dr. Venkadavarahan

Blog banner

Introduction my self

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Emailing the merger document

Blog banner

What is OS Fingerprinting?

Blog banner

Memory Management

Blog banner

Evolution of the Microprocesor

Blog banner

Importance of Website

Blog banner

Service Strategy principles

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

Lifestyle of a photographer

Blog banner

File management In Operating System

Blog banner

Concurrency and memory

Blog banner

Women Empowerment

Blog banner

OS ASSIGNMENT

Blog banner

Characteristics of Etherum

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Understanding Regression Analysis

Blog banner

Memory Management of Operating System(OS)

Blog banner

Virtual memory

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Platonic Solids

Blog banner

Child labour

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

Memory heirchy

Blog banner

Buffering

Blog banner

10 Unknown facts about India's Independence

Blog banner

The art of being alone

Blog banner

APACHE KAFKA

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

Social Media Marketing Trends 2022

Blog banner

Memory management

Blog banner

Processes : Process description and control

Blog banner

USES OF WHATSAPP

Blog banner