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

Social Engineering

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

Kernel in Operating System

Blog banner

Information of meesho company

Blog banner

Evolution of OS

Blog banner

Data Mining

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

Importance of business process documentation

Blog banner

BIRYANI ! The history you never knew about

Blog banner

Esri India launches Policy Maps.

Blog banner

Supervised and unsupervised learning

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

VIRTUAL MACHINES

Blog banner

Race Conditions

Blog banner

Policies for Service Transition

Blog banner

SQL Injection practice on DVWA

Blog banner

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

Blog banner

Artificial Intelligence and I

Blog banner

Child labour

Blog banner

KAHAWA TEA

Blog banner

Teamwork

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

Functions of operating system

Blog banner

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

Blog banner

Risk factors in service transistion

Blog banner

The Sunny Side of Instagram

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Concurrency and Deadlocks

Blog banner

The IT Service Lifecycle

Blog banner

I/O buffer and its techniques

Blog banner

Deadlock and Starvation

Blog banner

Diwali

Blog banner

Old age lifestyle

Blog banner

What is thread and multithreading ?

Blog banner

Top 5 Tech Innovations of 2018

Blog banner

Question

Blog banner

Understanding Business Layer in Data Science

Blog banner

Evolution of Operating system.

Blog banner

About myself

Blog banner

Monday. com App

Blog banner