Skip to main content

Module process

Module process 

Source
Expand description

Process ownership for handles that must survive being copied by fork.

Acquire ownership during boot/open. A child opens fresh handles. An inherited owner never becomes current again, even after the child opens its own handles. On Unix systems without a kernel-cleared mapping this relies on the libc fork path invoking pthread_atfork handlers.

Structsยง

ProcessOwner
A process identity captured when a resource is opened.