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

MAHAKAL LOK UJJAIN

Blog banner

Virtual Machine

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Virtual machine

Blog banner

Virtual memory

Blog banner

Deadlock in operating system

Blog banner

Shoulders

Blog banner

Importance of business process documentation

Blog banner

Threads

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

Fitness

Blog banner

Little Habits, Big Impact: Daily Preschool Routines That Shape the Future

Blog banner

What your Favorite colour says about You?

Blog banner

Memory management

Blog banner

E-Cash (Electronic Cash)

Blog banner

Zero-Day Attack

Blog banner

How I use google in my daily life

Blog banner

Importance of education

Blog banner

ODOO

Blog banner

RAID_142

Blog banner

Domain Name System

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

FRIENDSHIP

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

10 Survival Tips that might save your life

Blog banner

Optimization of operating system design

Blog banner

Steps to create an Ubuntu EC2 Instance with GUI in AWS

Blog banner

How Harshad Valia International School is nurturing India’s Young Minds?

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Fashion marketing in india

Blog banner

Why is online marketing is important in current scenario

Blog banner

FIREWALL

Blog banner

Uniprocessor scheduling

Blog banner

Health and fitness

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Linux 94

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

Social media

Blog banner

Natural Language Processing(NLP)

Blog banner

Direct memory access

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner