Changeset 9a78f8a5 in rtems for cpukit/rtems


Ignore:
Timestamp:
Jun 16, 2016, 3:08:54 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
99fc1d1d
Parents:
7ec66e08
git-author:
Sebastian Huber <sebastian.huber@…> (06/16/16 15:08:54)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/22/16 12:37:10)
Message:

score: Modify release job scheduler operation

Pass the deadline in watchdog ticks to the scheduler.

Update #2173.

File:
1 edited

Legend:

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

    r7ec66e08 r9a78f8a5  
    7272{
    7373  Per_CPU_Control *cpu_self;
     74  uint64_t deadline;
    7475
    7576  cpu_self = _Thread_Dispatch_disable_critical( lock_context );
    7677  _Rate_monotonic_Release( owner, lock_context );
    7778
    78   _Scheduler_Release_job( owner, next_length );
    79 
    8079  _ISR_lock_ISR_disable( lock_context );
    81   _Watchdog_Per_CPU_insert_relative(
     80  deadline = _Watchdog_Per_CPU_insert_relative(
    8281    &the_period->Timer,
    8382    cpu_self,
     
    8584  );
    8685  _ISR_lock_ISR_enable( lock_context );
     86
     87  _Scheduler_Release_job( owner, deadline );
    8788
    8889  _Thread_Dispatch_enable( cpu_self );
Note: See TracChangeset for help on using the changeset viewer.