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

Fault Tolerance

Blog banner

memory management

Blog banner

Pooja Silver

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

Memory management

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Rain bow

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Short note on expert system

Blog banner

THE ACTORS LIFE

Blog banner

Deadlock and Starvation

Blog banner

Deadlock

Blog banner

Starvation

Blog banner

Traditional Unix System

Blog banner

Operation system

Blog banner

Fashion design

Blog banner

Blockchain Transactions

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Memory Management in Operating System

Blog banner

When Is the Right Time to Enrol My Toddler Into Preschool? NEP

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

Malware

Blog banner

Processes: Process Description and Control.

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

TRELLO

Blog banner

Layers Of Blockchain

Blog banner

Memory heirchy

Blog banner

A Short History of GIS

Blog banner

Mumbai Metro 3

Blog banner

EID UL FITR

Blog banner

This Windows 11 encryption bug may cause data damage

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Session Hijacking Techniques

Blog banner

How to use open SSL for web server - browser communication

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

I/O buffer and its techniques

Blog banner

Why Soft Skills Matter as Much as Grades?

Blog banner

Buffering

Blog banner

Memory Management

Blog banner

What are Virtual Machines

Blog banner

Virtual memory

Blog banner

The evolution of OS

Blog banner