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

Service Strategy In ITSM

Blog banner

Measuring IT Risk

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Types of email

Blog banner

objectives and functions of operating system

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

OS Assignment 3

Blog banner

Models of Information Security.

Blog banner

social media issue

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

What are Virtual Machines

Blog banner

Scheduling

Blog banner

Best password managers: Reviews of the top products

Blog banner

Visualization in Data Science

Blog banner

Data Visualization – Importance and tools (Tableau, Power BI)

Blog banner

Deadlock

Blog banner

Europe Through My Lens

Blog banner

IT Service Continuity Management

Blog banner

The Golden Temple , Amritsar

Blog banner

Data Warehouse Bus Matrix

Blog banner

Inventory management software system

Blog banner

Process Description

Blog banner

10 Signs your Computer has Virus

Blog banner

Constrains in service design

Blog banner

IT GOVERNANCE

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

MOVEMBER

Blog banner

Explain Multiprocessors

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Malicious softwares

Blog banner

Consumer to consumer business mode

Blog banner

Types of Hackers

Blog banner

MODERN OPERATING SYSTEM

Blog banner

VIRTUAL MACHINES

Blog banner

Os Virtual Memory

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

Concurrency and Deadlocks

Blog banner

ZOHO

Blog banner