Files

4 lines
414 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
本模块支持两个加载参数:default_margin、nodeamon。
两者的含义分别为:
(1)default_margin:指定看门狗产生中断的时间间隔,以second为单位,模块默认的值为60。该值必须大于或等于0,设为0则采用默认值。
(2)nodeamon:指定在加载模块的时候,是否建立一个守护进程来进行喂狗。为0则产生守护进程,非0值则不产生;默认的值为0。如果没有建立喂狗的守护进程,则必须由用户程序完成喂狗动作,否则系统在两次时间间隔中断产生之后会复位。