Logo by DBAlex (anonymous IP: 3.15.239.0,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
[ OVERVIEW ] Watchdog-Handler is an AmigaDOS handler like /dev/watchdog in Linux. It will reboot the system if it is not fed at certain time. Its main use is to prevent situations where an application for some reasons may hang and nobody can press the reset button. [ REQUIREMENTS ] - AmigaOS 4.1 Update 1 running on PowerPC based computers [ INSTALLATION ] 1) > Copy Watchdog-Handler to L: 2) > Copy WATCHDOG to Devs:DOSDrivers [ USAGE ] dos.library functions <-> DOS Packets 1) The watchdog is automatically started once you open it, if no timeout is provided a default of 60 seconds is used: Fh = Open( "WATCHDOG:TimeoutInSeconds", MODE_OLDFILE ) ACTION_FINDINPUT ACTION_FINDUPDATE ACTION_FINDOUTPUT 2) To feed the watchdog write any character into it: ReturnedLength = Write( Fh, "w", 1 ) ReturnedLength = Write( Fh, "VVV", 3 ) ACTION_WRITE 3) To stop the watchdog close it: Close( Fh ) ACTION_END [ VERSION HISTORY ] - Version 53.0 released 13-Mar-2015, first public release [ PAYPAL DONATE ] Support my projects for AmigaOS 4.x with a PayPal donation thanks. PayPal donate to mscarano()libero.it |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |