#2344 closed defect (fixed)

Second argument of ualarm() is ignored

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: unspecified Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

I don't think this is in line with POSIX.

Change History (7)

comment:1 Changed on May 12, 2015 at 10:32:45 PM by Joel Sherrill

Would converting the second argument (interval) to ticks, saving it in a static variable, and using _Watchdog_Insert_ticks() in the TSR instead of _Watchdog_Reset_ticks() be enough to solve this?

Also this method was deprecated/obsoleted in one edition of POSIX but the current edition doesn't appear to mention that if I read the pages correctly.

Last edited on May 12, 2015 at 10:33:28 PM by Joel Sherrill (previous) (diff)

comment:2 Changed on May 13, 2015 at 6:36:28 AM by Sebastian Huber

Something like this should do it. I added this report as a note since I don't have time for this currently.

comment:3 Changed on Feb 22, 2016 at 1:08:29 PM by Sebastian Huber

Milestone: 4.11.14.12
Owner: set to Sebastian Huber
Status: newaccepted

comment:4 Changed on Feb 22, 2016 at 2:33:39 PM by Sebastian Huber <sebastian.huber@…>

In 5d478af46b2bd928f32cb8977164fe03d161c77f/rtems:

psxtests/psxualarm: Add test cases

Update #2344.

comment:5 Changed on Mar 4, 2016 at 2:00:20 PM by Sebastian Huber

Resolution: fixed
Status: acceptedclosed

comment:6 Changed on May 11, 2017 at 7:31:02 AM by Sebastian Huber

Milestone: 4.124.12.0

comment:7 Changed on Nov 9, 2017 at 6:27:14 AM by Sebastian Huber

Milestone: 4.12.05.1

Milestone renamed

Note: See TracTickets for help on using tickets.