wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Theads

profile
Palak Santoki
Aug 15, 2024
0 Likes
0 Discussions
44 Reads

thread is a single sequential flow of execution of tasks of a process so it is also known as thread of execution or thread of control. There is a way of thread execution inside the process of any operating system. Apart from this, there can be more than one thread inside a process. Each thread of the same process makes use of a separate program counter and a stack of activation records and control blocks. Thread is often referred to as a lightweight process.The process can be split down into so many threads. For example, in a browser, many tabs can be viewed as threads. MS Word uses many threads - formatting text from one thread, processing input from another thread, etc.

Need of Thread:

  • It takes far less time to create a new thread in an existing process than to create a new process.
  • Threads can share the common data, they do not need to use Inter- Process communication.
  • Context switching is faster when working with threads.
  • It takes less time to terminate a thread than a process.

Advantages of User-level threads

  1. The user threads can be easily implemented than the kernel thread.
  2. User-level threads can be applied to such types of operating systems that do not support threads at the kernel-level.
  3. It is faster and efficient.

Disadvantages of User-level threads

  1. User-level threads lack coordination between the thread and the kernel.
  2. If a thread causes a page fault, the entire process is blocked.



Comments ()


Sign in

Read Next

Yoga in INDIA and ABROAD

Blog banner

RAID_142

Blog banner

Cache memory

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

Life of a 2020-2021 student

Blog banner

What is E-commerce

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

Fitness

Blog banner

Buffering

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

Os(Computer security threats)

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Wedding photographer

Blog banner

Synchronization

Blog banner

Types of Hackers

Blog banner

Memory Management Techniques

Blog banner

RAID and It's Levels

Blog banner

File management

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

EMAIL INVESTIGATION

Blog banner

MEMORY MANAGEMENT

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Raid

Blog banner

Dekkers Algorithm

Blog banner

File management

Blog banner

Google

Blog banner

The Features of Blockchain

Blog banner

IT RISK

Blog banner

Os Virtual Memory

Blog banner

Social Media Sentiment Analysis

Blog banner

'Positivity in life'

Blog banner

A book review

Blog banner

Crypto tax evasion

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Memory Management in Operating System

Blog banner

SECURITY TOOLS

Blog banner

Music

Blog banner

Define Instagram.

Blog banner

Starvation

Blog banner