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

Network Footprinting in Cybersecurity

Blog banner

Kernel in Operating System

Blog banner

Street foods

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Network Forensics

Blog banner

What is Segmentation?

Blog banner

Note on Process, Process creation and Process termination

Blog banner

RAID

Blog banner

Jira service Management

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

Evolution of Operating system

Blog banner

10 Unknown facts about India's Independence

Blog banner

Paid Email

Blog banner

Some web vulnerabilities

Blog banner

"Audit" In Data Science

Blog banner

Worms, viruses and Bots

Blog banner

Self defence

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

Blockchain uses and use cases

Blog banner

Workplace mental health: A Psychological Perspective on Employee Well-being and Organizational Growth

Blog banner

Social Media Sentiment Analysis

Blog banner

Modern Operating System - Suren Kotian

Blog banner

Dangers of Using Public WiFis

Blog banner

Google classroom

Blog banner

Fitness regime by Deepesh

Blog banner

Understanding - Proof of Work!

Blog banner

First-Order Logic (FOL): The Foundation of Modern Logic

Blog banner

What is process

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

Mendeley (management software)

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

Windows Operating System

Blog banner

OS Assignment 3

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Vikrant’s first blog

Blog banner

What is Amazon?

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

The Dark Web: A Breeding Ground for Cybercriminals – How to Guard Against Threats

Blog banner

Data Security must be your Priority!

Blog banner

Memory Management

Blog banner

Privacy LAWs in IT

Blog banner