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

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

I/O buffer and its techniques

Blog banner

Dudhasagar waterfall ?

Blog banner

virtual machines and virtualization

Blog banner

Memory management

Blog banner

My Favorite Sportsperson

Blog banner

LTE Technology

Blog banner

Risk factors in service transistion

Blog banner

File Sharing

Blog banner

PROCESS STATE:

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Gamer life

Blog banner

Deadlock

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Broken Authentication Attacks

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

ZOHO

Blog banner

Odoo

Blog banner

Who decides your overthinking, anyway?

Blog banner

Critical success factors

Blog banner

The Role of Data Provenance and Lineage in Modern Data Science

Blog banner

MY FIRST BLOG?

Blog banner

The Role of cryptography in cyber security

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

Drawing tips for a beginner

Blog banner

Layers Of Blockchain

Blog banner

Virtual Memory

Blog banner

Operating Systems

Blog banner

Principles of Concurrency

Blog banner

Data Visualization

Blog banner

Different memory allocation strategies

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Some web vulnerabilities

Blog banner

TRELLO

Blog banner

What is process

Blog banner

Network Forensics Tools and Techniques

Blog banner

Apple

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

c

Blog banner

Riddhi Miyani 53003220140

Blog banner

operating system

Blog banner