wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process and Threading

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

Importance of Network Security Risk

Blog banner

The functions of operating system

Blog banner

Interesting fact about kangaroo.

Blog banner

What is a Malware ?

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

OLA

Blog banner

Install Ubuntu in Vmware

Blog banner

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

Blog banner

Virtual Memory

Blog banner

Modern OS

Blog banner

Threat management

Blog banner

Deadlock

Blog banner

Direct Memory Access

Blog banner

Yahoo! mail

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

Mango Raisin Chutney (sweet mango raisin spread)

Blog banner

DISK SCHEDULING

Blog banner

Memory Management

Blog banner

Corporate Discipline.

Blog banner

Operating system

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

What is M-commerce and how it's work

Blog banner

File sharing

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Music helps reduce stress

Blog banner

The seven-step improvement process

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Threads

Blog banner

Service Operations in ITSM

Blog banner

Disk scheduling

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Multiple-Processor Scheduling in Operating System

Blog banner

Raid

Blog banner

Use case of K-means clustering

Blog banner

Tools to support CSI activities

Blog banner

Embaded operating system

Blog banner

History of Money

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner