Notifier Chains

来源:互联网 发布:linux rar 带密码解压 编辑:程序博客网 时间:2024/05/01 03:05

 

Essential linux device driver:

 

Notifier chains are used to send status change messges to code regions that request them.

There are Die notification, Net device notification,  CPU frequency notification, and Internet address notification.

To attach your code to a notifier chain, you have to register an event handler with the associated chain.

 

Example:

 

原创粉丝点击