42
42
* have three possible states: UNUSED, ASSIGNED, ACTIVE. An UNUSED slot is
43
43
* available for assignment. An ASSIGNED slot is associated with a postmaster
44
44
* child process, but either the process has not touched shared memory yet,
46
46
* process is actively using shared memory. The slots are assigned to
47
47
* child processes at random, and postmaster.c is responsible for tracking
48
48
* which one goes with which PID.