wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

What is thread and multithreading ?

profile
Sumit Alu
Aug 04, 2023
0 Likes
0 Discussions
115 Reads

Q. What is Threads? And what  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

Heart Fulness Meditation

Blog banner

The Truth Behind Viral DIY Dental Hacks

Blog banner

Save Girl Child

Blog banner

What does the Australian summer have in store for your oral health?

Blog banner

Go Daddy

Blog banner

Processes: Process Description and Control.

Blog banner

Im Photographer

Blog banner

Advantage of freedom

Blog banner

Uniprocessor Scheduling

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Virtual Memory

Blog banner

Importance of education

Blog banner

Why Makhana Is Becoming India’s Favourite Healthy Snack?

Blog banner

ODOO

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

MORDERN UNIX SYSTEM

Blog banner

What is HTML?

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

bulk email software

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Functions of operating system

Blog banner

Race condition

Blog banner

Define Instagram.

Blog banner

Operating Systems Overview

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Uniprocessor scheduling

Blog banner

Top 10 Logos and their meanings

Blog banner

Direct Memory Access

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

Zomato's Secret Digital Marketing Techniques!

Blog banner

Understanding Toddler Tantrums: What They Really Mean

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Hash password! Is it really secured?

Blog banner

Why Is Freshly Cooked Food Better Than Processed Food for Everyday Health?

Blog banner

Types of Hackers.

Blog banner

Docker Framework

Blog banner

KAHAWA TEA

Blog banner

Sage

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner