Changeset ff94ddc in rtems


Ignore:
Timestamp:
Sep 9, 2021, 1:03:29 PM (5 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5
Children:
e9712e78
Parents:
e5a1b15
git-author:
Sebastian Huber <sebastian.huber@…> (09/09/21 13:03:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/09/21 13:17:50)
Message:

rtems: Initialize count of postponed jobs

The rtems_rate_monotonic_get_status() directive returns an arbitrary
number for the count of postponed jobs if it is called for a newly
created period object. Set the count of postponed jobs to zero during
object creation.

Close #4512.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/ratemoncreate.c

    re5a1b15 rff94ddc  
    5454  the_period->owner = _Thread_Get_executing();
    5555  the_period->state = RATE_MONOTONIC_INACTIVE;
     56  the_period->postponed_jobs = 0;
    5657
    5758  _Watchdog_Preinitialize( &the_period->Timer, _Per_CPU_Get_by_index( 0 ) );
Note: See TracChangeset for help on using the changeset viewer.