wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process and Threading

profile
Shipra Maurya
Jul 11, 2023
1 Like
0 Discussions
138 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

Computer Security

Blog banner

Getting into anime My anime suggestions

Blog banner

TEAMWORK

Blog banner

Direct Memory Access

Blog banner

Consumer to consumer Business model

Blog banner

Ola

Blog banner

Real Time Scheduling

Blog banner

Cyber Security in Data Breaching

Blog banner

Data Science & AI

Blog banner

Multicore and Multithreading

Blog banner

Water Resources are about to exhaust...

Blog banner

Getting started with Android Studio

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

Uniprocessor Scheduling

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Principles of Service Operation

Blog banner

1.1 basic elements

Blog banner

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

Virtual memory

Blog banner

File Organization and Access

Blog banner

Monday. com App

Blog banner

Health and fitness in technology

Blog banner

Understanding Business Layer in Data Science

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

5 Things I As A Dentist Would Never Do (And What You Can Learn From It)

Blog banner

File Allocation Methods

Blog banner

DATA BREACH CAUSES CHALLENGES PREVENTION AND FUTURE DIRECTIONS

Blog banner

Kernel Memory Allocation In Linux.

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

Operating System

Blog banner

Dr. Venkadavarahan

Blog banner

Short note on expert system

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

What is E-commerce

Blog banner

Lifestyle of a photographer

Blog banner

R Programming

Blog banner

Go Daddy

Blog banner

OPERATING SYSTEM

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner