diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/sched.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cpukit/posix/src/sched.c b/cpukit/posix/src/sched.c index 825294e056..c298655dc7 100644 --- a/cpukit/posix/src/sched.c +++ b/cpukit/posix/src/sched.c @@ -1,4 +1,11 @@ /* + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * * $Id$ */ @@ -126,8 +133,6 @@ int sched_rr_get_interval( struct timespec *interval ) { - /* XXX do we need to support different time quantums per thread */ - /* * Only supported for the "calling process" (i.e. this node). */ @@ -138,7 +143,7 @@ int sched_rr_get_interval( if ( !interval ) rtems_set_errno_and_return_minus_one( EINVAL ); - _POSIX_Interval_to_timespec( _Thread_Ticks_per_timeslice, interval ); + _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval ); return 0; } |