Threads and Processes
Threads and Processes
If each thread structure has a PDBR, a kernel stack and a user stack, for what I need a process structure?
Processes are also associated with resource allocation (i.e. opened files, memory quotas) and security, for example.
In my kernel, infact, processes are completely abstract and have nothing to do with address spaces or threads (which are separate entities). All I really use them for is the handle table.
In my kernel, infact, processes are completely abstract and have nothing to do with address spaces or threads (which are separate entities). All I really use them for is the handle table.
Code: Select all
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M/MU d- s:- a--- C++++ UL P L++ E--- W+++ N+ w++ M- V+ PS+ Y+ PE- PGP t-- 5- X R- tv b DI-- D+ G e h! r++ y+
------END GEEK CODE BLOCK------