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

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

MySQL

Blog banner

Explain Multiprocessors

Blog banner

How Cyber Forensics use in AI

Blog banner

The War With Cold On Earth

Blog banner

USPS mail

Blog banner

Evolution of Operating system

Blog banner

MUTUAL EXCLUSION

Blog banner

Sagar Parikrama

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

What is a Malware ?

Blog banner

Article on IT development trends

Blog banner

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

Blog banner

Apache Kafka

Blog banner

Hacking Mobile Platforms

Blog banner

Subnet Masking

Blog banner

Elegant fashion style

Blog banner

Concurrency management in operating systems

Blog banner

Dancing Classes In Mumbai

Blog banner

Digital Marketing

Blog banner

Place to visit in pune

Blog banner

Strengthening Active Directory Security

Blog banner

Deadlock and Starvation

Blog banner

therapist blog

Blog banner

Having passion in life

Blog banner

Starvation

Blog banner

Video games

Blog banner

The application udemy

Blog banner

Big Data Architecture

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

Artificial Intelligence and I

Blog banner

STARVATION

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner

THE DESIRE OF MANY

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Modern Operating System - Khush bagaria

Blog banner

Wedding photographer

Blog banner

IoT Evolution

Blog banner

Education: Key to your Prosperity

Blog banner

Top 10 Logos and their meanings

Blog banner

I/O buffer and its techniques

Blog banner

Cyber Security Standards

Blog banner