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

Ransomware

Blog banner

Why Data Security Is Important

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Race Condition

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

Swiggi

Blog banner

Flipkart

Blog banner

MACHINE LEARNING

Blog banner

Fault Tolerance

Blog banner

E-commerce

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Emailing the merger document

Blog banner

Article on Team Work

Blog banner

Classification Vs Clustring? What's the diffrence?

Blog banner

DATA VAULT

Blog banner

Time Series Analysis

Blog banner

Direct Memory Access

Blog banner

Evolution of Operating System

Blog banner

Education?

Blog banner

Tracking Emails & Email Crimes

Blog banner

security requirements for safe e-payment

Blog banner

Cross site scripting Attack

Blog banner

Python as a tool for Data science task & project

Blog banner

THE ACTORS LIFE

Blog banner

Domain Name System

Blog banner

Decision Tree: A Diagram Model

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

Virtual Machine

Blog banner

Threads

Blog banner

Explain Kernel in OS

Blog banner

File Allocation Methods

Blog banner

What is Data, Information and Knowledge?

Blog banner

File management

Blog banner

HTML vs HTML5

Blog banner

Lucidchart

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

Having passion in life

Blog banner

Women empowerment

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

The art of being alone

Blog banner

The War With Cold On Earth

Blog banner