Changeset 24adc5b in rtems


Ignore:
Timestamp:
Jun 4, 1996, 7:05:16 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
95645a4
Parents:
c48e0ee
Message:

changed sched_rr_get_interval to use the interval to timespec routine.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/sched.c

    rc48e0ee r24adc5b  
    55#include <assert.h>
    66#include <sched.h>
     7#include <errno.h>
    78
    89#include <rtems/system.h>
     
    1011#include <rtems/score/thread.h>
    1112#include <rtems/posix/priority.h>
     13#include <rtems/posix/time.h>
    1214
    1315/*PAGE
     
    135137)
    136138{
    137   time_t us_per_quantum;
    138 
    139139  /* XXX do we need to support different time quantums per thread */
    140140
     
    144144
    145145  assert( pid == getpid() );
    146 
    147146
    148147  _POSIX_Interval_to_timespec( _Thread_Ticks_per_timeslice, interval );
  • cpukit/posix/src/sched.c

    rc48e0ee r24adc5b  
    55#include <assert.h>
    66#include <sched.h>
     7#include <errno.h>
    78
    89#include <rtems/system.h>
     
    1011#include <rtems/score/thread.h>
    1112#include <rtems/posix/priority.h>
     13#include <rtems/posix/time.h>
    1214
    1315/*PAGE
     
    135137)
    136138{
    137   time_t us_per_quantum;
    138 
    139139  /* XXX do we need to support different time quantums per thread */
    140140
     
    144144
    145145  assert( pid == getpid() );
    146 
    147146
    148147  _POSIX_Interval_to_timespec( _Thread_Ticks_per_timeslice, interval );
Note: See TracChangeset for help on using the changeset viewer.