MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsdAllowSleep

Function cupsdAllowSleep

scheduler/sysman.c:291–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 */
290
291void
292cupsdAllowSleep(void)
293{
294 cupsdCleanDirty();
295
296 cupsdLogMessage(CUPSD_LOG_DEBUG, "Allowing system sleep.");
297 IOAllowPowerChange(LastSysEvent.powerKernelPort,
298 LastSysEvent.powerNotificationID);
299}
300
301
302/*

Callers 1

cupsdSetJobStateFunction · 0.85

Calls 2

cupsdCleanDirtyFunction · 0.85
cupsdLogMessageFunction · 0.85

Tested by

no test coverage detected