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 machine.

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

Dos (Denial of service) Attack

Blog banner

Cross site scripting Attack

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

Memory Management of Operating System(OS)

Blog banner

How Cyber Forensics use in AI

Blog banner

Annual Day Preparation for Toddlers: What Helps and What to Avoid

Blog banner

Security Issues

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner

10 Signs your Computer has Virus

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Zero-Day Attack

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Cloud Security: Trends and Innovations

Blog banner

objectives and functions of operating system

Blog banner

Vikrant’s first blog

Blog banner

Synchronization

Blog banner

Evolution of the Microprocesor

Blog banner

Memory Management

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

Be you

Blog banner

Evolution of operating systems

Blog banner

How to tie a Tie

Blog banner

Virtual Machine

Blog banner

Why is ITSM important in IT organization?

Blog banner

Mumbaicha Dabbawalla

Blog banner

Memory Management in an Operating System

Blog banner

Importance of Network Security Risk

Blog banner

Assignment 2

Blog banner

Memory input output management

Blog banner

Outlook.com

Blog banner

Disk cache

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

THE ACTORS LIFE

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

(Input/Output) in os

Blog banner