wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Theads

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

Go Daddy

Blog banner

Process and Threading

Blog banner

Fault Tolerance

Blog banner

Virtual Machine

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

Disk cache

Blog banner

Zomato's Secret Digital Marketing Techniques!

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

BENIFITS OF YOGA

Blog banner

The Role of Frontline Managers in Driving Workplace Performance and Customer Satisfaction

Blog banner

Outlook mail

Blog banner

Article on Zoho Corporation

Blog banner

Data Lake

Blog banner

Uniprocessor scheduling

Blog banner

Memory Management in Operating System

Blog banner

Khau Galli – Vile Parle

Blog banner

Modern Operating System

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

From Model Mistakes to Metrics

Blog banner

security controls

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

Embracing the power of Modern Machine UNIX

Blog banner

Traveling

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Multiprocessor and Multicore Organization

Blog banner

TRELLO

Blog banner

File System

Blog banner

1.1 basic elements

Blog banner

Life

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

5 Stages of Digital Marketing

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Product Discount Calculator

Blog banner

Deadlock and Starvation

Blog banner

Modern operating system

Blog banner

10 Problems you face if you are an Otaku

Blog banner

LISP - Library Management System

Blog banner

Race Condition in Operating Theatre

Blog banner

Memory Management

Blog banner

Memory Management

Blog banner