If a process exits and there are still threads of that process running, will they continue to run?

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Question

If a process exits and there are still threads of that process running, will they continue to run?

 

Expert Solution
Step 1

When a process finishes operating, all of the threads associated with that process are killed, regardless of whether or not those threads are still active.

This is due to the fact that threads are established within the context of a process, they share the same address space and resources, and their existence is limited to the duration that the process with which they are linked is active.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning