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

Workplace mental health: A Psychological Perspective on Employee Well-being and Organizational Growth

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Vulnerability Assessment

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

Threads

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

TRIGGERS IN DATABASE

Blog banner

Dudhasagar waterfall ?

Blog banner

Types of E-Commerce

Blog banner

TAILS OS

Blog banner

Why Should You Schedule Tweets on Twitter?

Blog banner

Virtual memory

Blog banner

Security Issues and Countermeasures

Blog banner

Operating Systems

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Multiprocessor

Blog banner

Study of Sniffing Tools

Blog banner

Service transistion under difficult conditions

Blog banner

Memory Management

Blog banner

Memory heirachy (Operating system)

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner

OS Evolution Achievements

Blog banner

Jira Software

Blog banner

INTERNET SECURITY

Blog banner

DURGA POOJA

Blog banner

File management In Operating System

Blog banner

All you need to know about Website Traffic

Blog banner

File management

Blog banner

Marvel Cinematic Universe

Blog banner

Defining youtubr

Blog banner

From Canoeing to Camping: The Perfect Nature Escape Near Arcadia

Blog banner

Fitness

Blog banner

Never give up

Blog banner

USES OF WHATSAPP

Blog banner

Power of words

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

GIS in Disaster Management

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

MENDELEY

Blog banner

Device driver

Blog banner

PYTHON

Blog banner