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

Maharashtrian culture: Tradition, Art, Food

Blog banner

Measuring IT Risk

Blog banner

Exploring the Power of Encase Forensic Tools: Unraveling Digital Mysteries

Blog banner

Healthy Eating on a Budget: How to Get More Nutrition From Every Meal

Blog banner

Yahoo! mail

Blog banner

MEMORY HIERARCHY

Blog banner

Dos (Denial of service) Attack

Blog banner

Social Media.

Blog banner

Ransomware

Blog banner

Race Condition

Blog banner

Some facts about Technology

Blog banner

How to Manage Employees and Tasks in One System (Without Excel)

Blog banner

Google classroom

Blog banner

Beauty of indian railway

Blog banner

LEMON PICKLE (NIMBU KA ACHAR)

Blog banner

DIGITAL TECHNOLOGY

Blog banner

Ethical Hacking

Blog banner

FILE SHARING

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Mail merge

Blog banner

Women’s Mental Health (After Marriage)

Blog banner

Fashion marketing in india

Blog banner

Body Image and Low Self Esteem: Understanding the Emotional Impact Beyond Appearance

Blog banner

Basic Security For SOAP Services

Blog banner

Theads

Blog banner

About myself

Blog banner

Memory input output management

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Cyber Security in Data Breaching

Blog banner

Buffer Overflow

Blog banner

Service Strategy principles

Blog banner

Cyber Security in Data Breaching

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Self managing devices

Blog banner

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner

Types of OS

Blog banner

Raid

Blog banner

BENIFITS OF YOGA

Blog banner

Why Your Child Cries at Drop-Off and How Preschools Handle It Gently

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

How to lose belly fat

Blog banner