4 ms·
Windows has job objects that work nicely for this purpose. :)
by mehrdadn 8y ago
Windows has job objects that work nicely for this purpose. :)
- lostmsu 8y agoIsn't their purpose basically the same as process groups?
- mehrdadn 8y agoI think they're similar, yeah, though they seem more general/orthogonal... e.g. they allow a process to be associated with multiple jobs (or so I think -- I've never needed to associate 1 process with multiple jobs), and this is independent of whether the process is detached and starts a new hierarchy or not.