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

virtual machines and virtualization

Blog banner

Child labour

Blog banner

Basic Security For SOAP Services

Blog banner

Game via listing method

Blog banner

Dr. Venkadavarahan

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

Animal’s have my heart

Blog banner

Concept and definition of m-commerce

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Some facts about Technology

Blog banner

First-Order Logic (FOL): The Foundation of Modern Logic

Blog banner

Virtualisation

Blog banner

CSI and Organizational Change

Blog banner

Bulk E-mail software

Blog banner

Modern Operating System

Blog banner

Service Strategy In ITSM

Blog banner

Mumbai

Blog banner

Swiggi

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Evolution of Operating system

Blog banner

Theads

Blog banner

Why am I never satisfied with my Life?

Blog banner

Satellite Based Positioning

Blog banner

Memory Management

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

"Mahakali cave"

Blog banner

undefined

Blog banner

COMPUTER FORENSICS AND GRAPHICS

Blog banner

Memory input output management

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Big Data Architecture

Blog banner

Types of Big Data

Blog banner

Texting is actually better than talking in person

Blog banner

Service design process in ITSM

Blog banner

Threading

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

Why Friendship at Work is Important

Blog banner

INTERNET SECURITY

Blog banner

What is Data, Information and Knowledge?

Blog banner

Be kind person

Blog banner

Memory management

Blog banner