Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
0 votes
in Compilers & Operating Systems by (user.guest)

1 Answer

0 votes
by (user.guest)

In system threads each thread has its own stack, and this is so that i can use its own local variables, threads also share global variables as well, in cases where global variables are used, mutex and other synchronization mechanisms are used to access and modify variables.

Kernel threads also have their own stacks. 

Related questions

Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.