# 向用户空间发送通知

Source: [https://docs.qualcomm.com/doc/80-70014-30Y/topic/notificationtouserspace.html](https://docs.qualcomm.com/doc/80-70014-30Y/topic/notificationtouserspace.html)

温控核心框架使用 `Netlink` 接口向用户空间提供传感器温度通知。用户空间应用程序使用 `Netlink` 库 API 获取传感器温度通知并采取所需措施。

- `Netlink` 库 API 位于：[index: kernel/git/torvalds/linux.git](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/thermal?h=v6.6)。
- 示例应用程序位于：[index: kernel/git/torvalds/linux.git](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/thermal/thermal-engine/thermal-engine.c?h=v6.6)

**Parent Topic:** [接口](https://docs.qualcomm.com/doc/80-70014-30Y/topic/thermal-interfaces.html)

Last Published: Aug 20, 2024

[Previous Topic
cooling device](https://docs.qualcomm.com/bundle/publicresource/80-70014-30Y/topics/coolingdevices.md) [Next Topic
定制](https://docs.qualcomm.com/bundle/publicresource/80-70014-30Y/topics/customize.md)