wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process and Threading

profile
Shipra Maurya
Jul 11, 2023
1 Like
0 Discussions
139 Reads

In multiprocessing task, process is heavy weight task. It creates a child process same as the parent process when the parent process is busy. It has its own data and code to run the process this known as fork system call. 
Multithreading refers to the ability of an OS to support multiple, concurrent paths of execution within a single process. In multithreading task, threads light weight task.  In thread if we are creating thread of a process or dividing a process in multiple threads, then all threads will share same data and same code means there will not be over heading of data and code. But its own stack and register for every thread in the same process.
    Process                                                        Threads
1. System calls involved in process.                There is no system call involved
2. OS treats different process differently.        All user level threads treated as single task for OS
3. Different process has different copies        Threads share same copy of code and data
    of data, files, code.
4. Content switching is slower.                        Content switching is faster.
5. Blocking a process will not block                 Blocking a thread will block entire process.
    another process.
6. Independent.                                                Interdependent. 


Comments ()


Sign in

Read Next

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

Virtualisation

Blog banner

Coping with Diagnosis Shock

Blog banner

Semaphores

Blog banner

Operating Systems

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

Evolution of operating system

Blog banner

Security issues

Blog banner

The Role of Summer Camps in Early Childhood Development

Blog banner

What Your Music Taste Reveals About Your Personality

Blog banner

Memory input output management

Blog banner

Cycling

Blog banner

Memory input output management

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

What is Email? Uses of Emails

Blog banner

Europe Through My Lens

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

File management

Blog banner

Spotify

Blog banner

Mendeley (management software)

Blog banner

Functions of Operating System

Blog banner

ADIDAS

Blog banner

Processing Crime and Incident Scenes

Blog banner

Deadlock in Operating systems

Blog banner

Zomato (Income Sources)

Blog banner

Virtual memory

Blog banner

File system implementation

Blog banner

Defining youtubr

Blog banner

How to Run your First android App

Blog banner

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

Blog banner

Raid and levels of raid.

Blog banner

R Programming

Blog banner

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

Blog banner

Operating system

Blog banner

Malware

Blog banner

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

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

Inventory management software system

Blog banner

Virtual Machine

Blog banner