How much configuration checking during sleep-wake cycle?

How much checking or re-checking of overall system configuration and other global stuff is done during a sleep-reawaken cycle?
AES wrote on :

How much checking or re-checking of overall system configuration and other global stuff is done during a sleep-reawaken cycle?

For example, if I put my system to sleep, is it then safe to disconnect a mounted volume? -- one which was not deliberately ejected before the sleep command was issued.

Or if I disconnect an external monitor while a Mac laptop is asleep, will the system discover that the monitor is no longer present and reset resolution and color stuff?

In general, how close is a sleep-waken cycle to a restart, for considerations like that?

Shawn Hirn replied on :

In article siegman-18EC35.20122312082008@redacted.invalid, AES siegman@redacted.invalid wrote:

How much checking or re-checking of overall system configuration and other global stuff is done during a sleep-reawaken cycle?

None. That sort of thing happens only during start up.

For example, if I put my system to sleep, is it then safe to disconnect a mounted volume? -- one which was not deliberately ejected before the sleep command was issued.

No. Try it and see for yourself with a USB jump drive that doesn't have anything important on it. You will get a warning that the volume was disconnected without ejecting it first.

Or if I disconnect an external monitor while a Mac laptop is asleep, will the system discover that the monitor is no longer present and reset resolution and color stuff?

Yes, but that has nothing to do with the machine being in sleep mode. When the Mac is in "awake mode" it always checks for the presence of external displays.

In general, how close is a sleep-waken cycle to a restart, for considerations like that?

Not close at all. If sleep was close to a restart, it would not become usable again so quickly after being taken out of sleep mode.