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

How International Schools Build Global-Minded Students through Curriculum & Activities

Blog banner

Message Passing in OS

Blog banner

File system implementation

Blog banner

Hypothesis Testing in Data Science

Blog banner

Clarizen

Blog banner

Deadlock and starvation in operating system

Blog banner

Process Creation

Blog banner

Paid Email

Blog banner

'Positivity in life'

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Interesting fact about kangaroo.

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

Direct Memory Access

Blog banner

INSTAGRAM

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner

Street foods

Blog banner

child Labour

Blog banner

Why Friendship at Work is Important

Blog banner

Memory management

Blog banner

Pipedrive

Blog banner

Socket Programming in Java

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

Direct Memory Access

Blog banner

Deadlocks in Operating Systems

Blog banner

Components of GIS

Blog banner

How social media affect

Blog banner

File Management In OS

Blog banner

An Approach To Spyware Detection And Removal

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

RAID - LEVELS OF RAID

Blog banner

Cache Memory

Blog banner

Deadlock

Blog banner

Secure Hypertext transfer protocol

Blog banner

Cyber Forensics

Blog banner

Semaphores

Blog banner

Deadlock and starvation

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner

Interrupts

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner