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

Data carving - using hex editor

Blog banner

Life of a 2020-2021 student

Blog banner

Different memory allocation strategies

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

Service Design Model

Blog banner

?What Your Dentist Notices The Moment You Sit In The Chair

Blog banner

Memory Management

Blog banner

Ethical Hacking

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

DATA BREACH CAUSES CHALLENGES PREVENTION AND FUTURE DIRECTIONS

Blog banner

Mariana Trench: The deepest depths

Blog banner

Environmental Management using GIS

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Service Design Principles

Blog banner

Brain wash of social media

Blog banner

DIGITAL TECHNOLOGY

Blog banner

File sharing

Blog banner

Hello World

Blog banner

Types of Threads

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Mumbai famous street food

Blog banner

VIRTUAL MACHINE

Blog banner

Cache Memory

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

Modern operating system

Blog banner

EdTech (Education Technology)

Blog banner

Meshoo

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

What if COVID does not exist!

Blog banner

Data Exfiltration

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

Expert System In AI

Blog banner

MODERN OPERATING SYSTEM

Blog banner

HOW CAN SOCIAL MEDIA MAKE YOU HAPPIER?

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

Getting into anime My anime suggestions

Blog banner

Interrupts in operating system.

Blog banner

How to Run your First android App

Blog banner

Deadlocks

Blog banner

Everything You Need for a Perfect Stay in Arcadia, Florida, USA.

Blog banner

FILE SHARING

Blog banner