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

Rules and Regulations of Networking: "Standards and Protocols" - Part 1

Blog banner

RAID

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

INTERNET SECURITY

Blog banner

38_Exploring The Honeynet Project

Blog banner

Data Visualization in Decision-Making

Blog banner

Risk management in IT

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

Fault Tolerance

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Intrusion Detection System

Blog banner

Consumer to consumer business mode

Blog banner

MACHINE LEARNING

Blog banner

Fault Tolerance

Blog banner

My favourite food

Blog banner

What is Internet

Blog banner

Twisted world

Blog banner

INTERNET

Blog banner

Different Types of Data

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

What is Amazon?

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

All you need to know about Website Traffic

Blog banner

Penetration Testing

Blog banner

Oracle Corporation

Blog banner

Self defence

Blog banner

All you need to know about Cassandra

Blog banner

GOOGLE

Blog banner

Virtual Machine

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Privacy LAWs in IT

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

SPAM

Blog banner

PPT methodology

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

Software

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

MOVEMBER

Blog banner

Fitness

Blog banner