Ignore:
Timestamp:
Jun 24, 2010, 9:27:30 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
983bfad
Parents:
2d1994c9
Message:

2010-06-24 Gedare Bloom <giddyup44@…>

PR 1590/cpukit

  • score/Makefile.am, score/include/rtems/score/thread.h, score/src/threadtickletimeslice.c: Remove _Thread_Reset_timeslice and replaces its single use with a call to the functionally equivalent _Thread_Yield_processor().
  • score/src/threadresettimeslice.c: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadtickletimeslice.c

    r2d1994c9 r8bef4cc  
    8181    #endif
    8282      if ( (int)(--executing->cpu_time_budget) <= 0 ) {
    83         _Thread_Reset_timeslice();
     83
     84        /*
     85         *  A yield performs the ready chain mechanics needed when
     86         *  resetting a timeslice.  If no other thread's are ready
     87         *  at the priority of the currently executing thread, then the
     88         *  executing thread's timeslice is reset.  Otherwise, the
     89         *  currently executing thread is placed at the rear of the
     90         *  FIFO for this priority and a new heir is selected.
     91         */
     92        _Thread_Yield_processor();
    8493        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;
    8594      }
Note: See TracChangeset for help on using the changeset viewer.