wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Theads

profile
Palak Santoki
Aug 15, 2024
0 Likes
0 Discussions
46 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

Data Security and Data Privacy in Data Science

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

FOMO Fear of Missing Out: When Comparison Steals Your Peace of Mind

Blog banner

Why Data Security Is Important

Blog banner

5 People who claimed to have Time Traveled

Blog banner

child Labour

Blog banner

Service transistion under difficult conditions

Blog banner

Concept and definition of m-commerce

Blog banner

Multiprocessor and scheduling

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Self defence

Blog banner

Why Iron-Rich Foods Matter and How to Include Them in Indian Meals

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

Financial Fraud Detection

Blog banner

Types of Malware in Cyber Security

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Deadlocks

Blog banner

Hacking

Blog banner

Understanding Regression Analysis

Blog banner

Direct memory access (DMA)

Blog banner

Data Visualization in Decision-Making

Blog banner

MAILFENCE

Blog banner

A True Friendship

Blog banner

What is Spyware? and examples of them.

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Deadlocks

Blog banner

Overcoming the bedtime brushing Battle with Dr. Roxanne Irani, Dentist in Maroubra

Blog banner

Virtual Memory

Blog banner

OS assignment 3

Blog banner

Security Issues and Countermeasures

Blog banner

Operating Systems

Blog banner

The Chapped Lips and Dry Mouth Trap: The Sneaky Reason Cavities Spike in Winter

Blog banner

Senseless Teeths

Blog banner

Monday. com App

Blog banner

The New Rules of UI/UX Design Every Website Must Follow in 2026

Blog banner

Google App Engine

Blog banner

Why we should do reading

Blog banner

Visualization in Data Science

Blog banner

Operating system

Blog banner

bulk email software

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

Palliative and End — of — Life Care: A Psychological and Holistic Perspective

Blog banner