6.12. Jobs

How many times, when creating an involved application, have you had many processes that worked together to form an application set? Up until recently, Windows had not maintained any parent/child process relationship between processes. Windows 2000 now has a new job kernel that lets you group processes together to create, in essence, a process set that allows control over what the processes can do. It is also useful to create jobs that contain a single process. This gives you the capability of placing restrictions on the process, which typically you couldn't do. One might view this set of processes as being in a job container.

Windows 98 does not support jobs.

A process is placed in a job by calling the following:

 BOOL AssignProcessToJobObject( ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.