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
103 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

Computer Security

Blog banner

Does School Infrastructure Really Matter For Learning?

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

RAID

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

The Sunny Side of Instagram

Blog banner

Supervised and Unsupervised Learning

Blog banner

All you need to know about Website Traffic

Blog banner

?What Your Dentist Notices The Moment You Sit In The Chair

Blog banner

Rain bow

Blog banner

Multicore and multithreading 171

Blog banner

Zero-Day Attack

Blog banner

Vulnerability Assessment

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

Electronic Evidence in Cyber Forensics

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

Deadlock and starvation

Blog banner

Importance of business process documentation

Blog banner

IP Address

Blog banner

Security Issues and Countermeasures

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

Virtual Machine

Blog banner

Meshoo

Blog banner

The Peephole

Blog banner

What is Data, Information and Knowledge?

Blog banner

Data Science & AI

Blog banner

Deadlock in Operating systems

Blog banner

Data Exfiltration

Blog banner

Google

Blog banner

Having passion in life

Blog banner

Virtual Memory

Blog banner

Access management

Blog banner

The Role of Frontline Managers in Driving Workplace Performance and Customer Satisfaction

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

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

Blog banner

Best password managers: Reviews of the top products

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Security issues

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Self managing devices

Blog banner