Changeset cb2cbec in rtems for cpukit/rtems


Ignore:
Timestamp:
Jan 13, 2017, 6:54:11 PM (3 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
master
Children:
2a583a00
Parents:
ad40220f
git-author:
Gedare Bloom <gedare@…> (01/13/17 18:54:11)
git-committer:
Gedare Bloom <gedare@…> (01/13/17 18:58:11)
Message:

classic: adjust names of RM postponed job functions

closes #2795

Location:
cpukit/rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/include/rtems/rtems/ratemon.h

    rad40220f rcb2cbec  
    419419
    420420/**
    421  * @brief RTEMS Return the number of postponed jobs
     421 * @brief Return the number of postponed jobs
    422422 *
    423423 * This is a helper function for runtime monitoring to return
     
    432432 *
    433433 */
    434 uint32_t rtems_rate_monotonic_postponed_num(
     434uint32_t rtems_rate_monotonic_postponed_job_count(
    435435  rtems_id        period_id
    436436);
  • cpukit/rtems/src/ratemonperiod.c

    rad40220f rcb2cbec  
    6565}
    6666
    67 static void _Rate_monotonic_Release_postponedjob(
     67static void _Rate_monotonic_Release_postponed_job(
    6868  Rate_monotonic_Control *the_period,
    6969  Thread_Control         *owner,
     
    320320  the_period->next_length = length;
    321321
    322   _Rate_monotonic_Release_postponedjob( the_period, executing, length, lock_context );
     322  _Rate_monotonic_Release_postponed_job(
     323      the_period,
     324      executing,
     325      length,
     326      lock_context
     327  );
    323328  return RTEMS_TIMEOUT;
    324329}
     
    327332 * This helper function is prepared for run-time monitoring.
    328333 */
    329 uint32_t rtems_rate_monotonic_postponed_num(
     334uint32_t rtems_rate_monotonic_postponed_job_count(
    330335    rtems_id   period_id
    331336)
     
    382387           * the current period deadline.
    383388           *
    384            * Do nothing on the watchdog deadline assignment but release the next
    385            * remaining postponed job.
     389           * Do nothing on the watchdog deadline assignment but release the
     390           * next remaining postponed job.
    386391           */
    387392          status = _Rate_monotonic_Block_while_expired(
     
    393398        }else{
    394399          /*
    395            * Normal case that no postponed jobs and no expiration, so wait for the period
    396            * and update the deadline of watchdog accordingly.
     400           * Normal case that no postponed jobs and no expiration, so wait for
     401           * the period and update the deadline of watchdog accordingly.
    397402           */
    398403          status = _Rate_monotonic_Block_while_active(
Note: See TracChangeset for help on using the changeset viewer.