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

Privacy-Enhancing Computation Techniques

Blog banner

Education: Key to your Prosperity

Blog banner

Security in Cloud Computing

Blog banner

Routers

Blog banner

Image Steganalysis in Digital Forensics

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Virtual Machine

Blog banner

This is my first blog.

Blog banner

TEAMWORK

Blog banner

Steganography and Steganalysis

Blog banner

Dangers of Using Public WiFis

Blog banner

Navigating the Digital Battlefield: Security Breaches and Effective Countermeasures

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

Data Warehouse Bus Matrix

Blog banner

GraphX:- A graph processing tool

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Understanding Mobile Device Forensics

Blog banner

Importance Of Education.

Blog banner

Traditional Unix System

Blog banner

Cyber Security Control

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

A Traveller’s Guide to Offbeat Places in Arcadia, Florida

Blog banner

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

Blog banner

THREADS (assignment 1)

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

Strengthening Active Directory Security

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

What is OS Fingerprinting?

Blog banner

Memory Partitioning

Blog banner

Women Empowerment

Blog banner

What is Minting & Mining

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Bulk E-mail software

Blog banner

Deadlock and Starvation

Blog banner

Internet of Things

Blog banner

Paid Email

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

Deadlock Prevention

Blog banner

Footprinting

Blog banner