In the most recent version of OSX Lion, how do you wake up the machine from display sleep? This is in response to network activity.
In 10.7.3 this was possible with the following call:
IOPMAssertionID id = 0;
IOPMAssertionCreateWithName(kIOPMAssertionTypeNoDisplaySleep,
kIOPMAssertionLevelOn, reason, &id)
However, this does not work in 10.7.4. What can be done instead?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…