#865 closed Defect (fixed)
Stop using NXIdleTime in Mac client
Reported by: | kc8apf | Owned by: | davea |
---|---|---|---|
Priority: | Undetermined | Milestone: | Undetermined |
Component: | Client - Daemon | Version: | 6.4.7 |
Keywords: | OSX | Cc: | charlief |
Description
NXIdleTime is a deprecated API in OS X that is very likely to disappear very soon. A replacement for its usage should be found.
Change History (9)
comment:1 Changed 16 years ago by
Cc: | OSX added |
---|---|
Component: | Undetermined → Client - Daemon |
Owner: | set to davea |
comment:2 Changed 16 years ago by
Cc: | charlief added; OSX removed |
---|---|
Keywords: | OSX added |
Resolution: | → wontfix |
Status: | new → closed |
comment:3 Changed 16 years ago by
Is the workaround available in a built version of the OS X client?
comment:4 Changed 16 years ago by
It looks like it is in the 6.6 version of BOINC, go ahead and give it a whirl.
comment:5 Changed 16 years ago by
As of BOINC 6.6.12, BOINC uses NxIdleTime?() whenever that API is available, otherwise it uses IOHIDGetParameter(). This is because NXIdleTime() works proprely even when BOINC is run as a launchd daemon as user boinc_master on all OS 10 versions whch support it, but IOHIDGetParameter() works in that situation only in later versions of OS X.
As a result, BOINC (version 6.6.12 and later) continues to use NXIdleTime() through OS 10.5.x, and will automatically switch to IOHIDGetParameter() in O 10.6 (which has removed the NXIDleTime() API).
comment:6 Changed 16 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:7 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:8 Changed 15 years ago by
Keywords: | revmissing added |
---|
IIRC, Apple has already been in contact with us over that and a workaround has already been implemented to support 10.6.
NXIdleTime was being used since it supported monitoring keyboard and mouse activity when the client was being used as a daemon.