home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!dog.ee.lbl.gov!lbl.gov!vxwexplo
- From: Roeber <fjr@ssd.ray.com>
- Newsgroups: comp.os.vxworks
- Subject: re: Watch dog timer question
- Date: Thu, 5 Nov 1992 08:05:19 -0500
- Organization: Lawrence Berkeley Laboratory, Berkeley CA
- Lines: 25
- Sender: vxwexplo@lbl.gov
- Message-ID: <199211051305.AA00607@pike.ssd.ray.com>
- NNTP-Posting-Host: 128.3.112.16
- Originator: daemon@vxw.ee.lbl.gov
-
- Brian Quigley writes:
- >
- > I've been helping a friend troubleshoot a problem which appears to stem from
- > a watchdog timer. We have one task which is creating a watchdog timer
- > (globally). The timer is started and cancelled in this task. We were
- > also hoping to be able cancel the timer from another task as well.
- > Unfortunately, cancelling the timer from another task doesn't seem to
- > work. After closer re-reading, the wdLib documentation slightly
- > implies that a task that creates a watchdog timer is the only one that
- > can access it.
-
- In VxWorks 5.0.2 there should be no reason why any task that knows a watch
- dog ID shouldn't be able to cancel it by calling wdCancel. There are no
- task specific checks in the code. If you are getting back bad status you
- should check the error code. Maybe you are trying to cancel it multiple
- times or passing a bad ID value (or maybe the timer has already expired). Fred
-
- _______________________________________________________
- | Fred J Roeber, Raytheon Submarine Signal Division |
- | 1847 West Main Road, Mail Stop 188 |
- | Portsmouth, RI 02871-1087 (401) 847-8000 (X4205) |
- | |
- | fjr@ssd.ray.com |
- |_______________________________________________________|
-
-