#include <libkern/OSThermalNotification.h>
libkern/OSThermalNotification.h
* OSThermalNotification.h
*
* Notification mechanism to alert registered tasks when device thermal conditions
* reach certain thresholds. Notifications are triggered in both directions
* so clients can manage their memory usage more and less aggressively.
*
enumOSThermalPressureLevel
Define pressure levels usable by OSThermalPressureLevel
| kOSThermalPressureLevelNominal | 0 | |
| kOSThermalPressureLevelModerate | 1 | |
| kOSThermalPressureLevelHeavy | 2 | |
| kOSThermalPressureLevelTrapping | 3 | |
| kOSThermalPressureLevelSleeping | 4 |
typedefOSThermalPressureLevel
typedef enum OSThermalPressureLevel OSThermalPressureLevel;
variablekOSThermalNotificationPressureLevelName
* External notify(3) string for thermal pressure level notification
__OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_7_0) extern const char * const kOSThermalNotificationPressureLevelName