
194
CHAPTER 6 PROCESS MANAGEMENT
Job Objects
Processes can be collected together into job objects where the processes can be
controlled as a group, resource limits can be specified for all the job object member
processes, and accounting information can be maintained. Job objects were
introduced with Windows 2000 and are supported in all NT5 systems.
The first step is to create an empty job object with
, which
takes two arguments, a name and security attributes, and returns a job object
handle. There is a lso an
function to use with a named object.
destroys the job object.
simply add s a process specified by a process
handle to a job object; there