[Openmcl-devel] MAc wont sleep while running CCL
R. Matthew Emerson
rme at acm.org
Sat Jan 14 19:59:06 PST 2017
> On Jan 14, 2017, at 7:07 PM, David Hodge <david at hodge.net.nz> wrote:
>
> Just started using CCL and its a been a nice experience so far.
>
> I have one question. CCL apparently prevents the Mac from sleeping.
>
> The culprit appears to be something called SDL_DisablescreenSaver
>
> Any ideas why this is happening would be appreciated.
It appears that SDL_DisableScreenSaver is a function in the SDL library (https://wiki.libsdl.org/SDL_DisableScreenSaver). CCL itself doesn't use SDL, so my guess would be that there is some software that you have loaded into your lisp that is calling it.
>
> Clozure Common Lisp Version 1.11-r16635, Mac OS Sierra
>
> Cheers
>
> [5501]> pmset -g assertions
> 2017-01-15 15:45:45 +1300
> Assertion status system-wide:
> BackgroundTask 0
> ApplePushServiceTask 0
> UserIsActive 1
> PreventUserIdleDisplaySleep 1
> PreventSystemSleep 0
> ExternalMedia 0
> PreventUserIdleSystemSleep 0
> NetworkClientActive 0
> Listed by owning process:
> pid 81433(dx86cl64): [0x0000e51e00059f3e] 123:13:00 PreventUserIdleDisplaySleep named: "dx86cl64 using SDL_DisableScreenSaver"
> pid 128(hidd): [0x0002722f000990a2] 00:00:43 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968079.3"
> Timeout will fire in 360 secs Action=TimeoutActionRelease
> Kernel Assertions: 0x100=MAGICWAKE
> id=504 level=255 0x100=MAGICWAKE mod=15/01/17, 2:31 PM description=en1 owner=en1
> Idle sleep preventers: IODisplayWrangler
More information about the Openmcl-devel
mailing list