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

Direct Memory Access

Blog banner

Body Image and Low Self Esteem: Understanding the Emotional Impact Beyond Appearance

Blog banner

Honeypot in cyber security

Blog banner

Indian Culture and Tradition

Blog banner

Data carving - using hex editor

Blog banner

Hypothesis Testing in Data Science

Blog banner

What is OS and its overview

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

Cross site scripting Attack

Blog banner

Data Lake

Blog banner

Way to make your meal healthier.

Blog banner

5 Stages of Digital Marketing

Blog banner

Routers

Blog banner

Different types of scam frauds

Blog banner

Big Data Architecture

Blog banner

What is a Malware ?

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Men’s Mental Health: Breaking the Silence and Building Emotional Well-being

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Types of OS

Blog banner

My First Dream Bike

Blog banner

Corporate Discipline.

Blog banner

What Makes Traditional God Keri Aachar So Special?

Blog banner

Music

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

Financial Fraud Detection

Blog banner

Linux Memory Management

Blog banner

Password Generator - Lisp

Blog banner

Understanding Toddler Tantrums: What They Really Mean

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Cycling

Blog banner

MPL and how its effects?

Blog banner

Deadlock

Blog banner

I/O Management and Disk Scheduling

Blog banner

Socket Programming in Java

Blog banner

Rapido

Blog banner

Multiprocessor

Blog banner

10 Interesting Facts about Death Note

Blog banner

Getting to Kashmir: Alternative to the Jammu-Srinagar highway

Blog banner