/* For use by clients. Note that we are a bit racy here since *notifier_blockdoesn'thaveamoduleownerfield.Imayfix *itoneday... * *LOCKINGNOTE! * *All"events"exceptWF_EVENT_TICKarecalledwithaninternalmutex *heldwhichwilldeadlockifyoucallbasicallyanycoreroutine. *Sodon't!Justtakenoteoftheeventanddoyouractualoperations *fromtheticker. *
*/ externint wf_register_client(struct notifier_block *nb); externint wf_unregister_client(struct notifier_block *nb);
/* Overtemp conditions. Those are refcounted */ externvoid wf_set_overtemp(void); externvoid wf_clear_overtemp(void);
#define WF_EVENT_NEW_CONTROL 0/* param is wf_control * */ #define WF_EVENT_NEW_SENSOR 1/* param is wf_sensor * */ #define WF_EVENT_OVERTEMP 2/* no param */ #define WF_EVENT_NORMALTEMP 3/* overtemp condition cleared */ #define WF_EVENT_TICK 4/* 1 second tick */
/* Note: If that driver gets more broad use, we could replace the *simplisticovertempbitswith"environmentalconditions".That *couldthenbeusedtoalsonotifyofthingslikefanfailure, *caseopen,batteryconditions,...
*/
#endif/* __WINDFARM_H__ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.