]> git.ipfire.org Git - thirdparty/cups.git/commit - scheduler/job.c
Dropped "dark wake" support on OS X, which was preventing portables from going
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 7 Nov 2013 01:20:23 +0000 (01:20 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 7 Nov 2013 01:20:23 +0000 (01:20 +0000)
commit581dae2da052286aae0e5e558d31454894853f56
tree37114b6fd3af23039d0d57f0338cd11bd1012e0a
parenta86604301626ef9b5b537e349d639d988994f59c
Dropped "dark wake" support on OS X, which was preventing portables from going
to sleep when there was a stuck job. We now use a variation of the CUPS 1.4
sleep support to do a cleaner sleep (<rdar://problem/14323704>)

Aside from removing all of the power assertions, we now track a new
"cups-waiting-for-completed" state keyword that tells cupsd it can SIGKILL a
backend without side-effects - then if we are just waiting for the job to
complete we can go to sleep immediately.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11403 a1ca3aef-8c08-0410-bb20-df032aa958be
14 files changed:
CHANGES.txt
backend/ipp.c
backend/lpd.c
backend/socket.c
backend/usb-darwin.c
config-scripts/cups-common.m4
config.h.in
scheduler/job.c
scheduler/job.h
scheduler/main.c
scheduler/printers.c
scheduler/sysman.c
vcnet/config.h
xcode/config.h