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

MODERN OPERATING SYSTEM

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

What is Amazon?

Blog banner

Life of an army person

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

The Memory Hierarchy

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Real time scheduling

Blog banner

Social Engineering Attacks

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Smitten Kitchen Keepers

Blog banner

NETSUITE

Blog banner

Deadlock in operating system

Blog banner

Interrupts

Blog banner

Concurrency:Deadlock and Starvation

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

Constrains in service design

Blog banner

E-learning

Blog banner

Intrusion Detection System

Blog banner

INTERNET

Blog banner

Malware

Blog banner

Raid

Blog banner

The Sunny Side of Instagram

Blog banner

Why Data Security Is Important

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Types of Big Data

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

child Labour

Blog banner

DIGITAL ECONOMY

Blog banner

Biometric Authentication Vulnerabilities

Blog banner

Mumbai Metro 3

Blog banner

Mumbai

Blog banner

Service Catalogue Management

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

DURGA POOJA

Blog banner

Types Of Interrupt

Blog banner

Race Condition

Blog banner

Deadlock in Operating System

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner