Changeset ea02782a in rtems


Ignore:
Timestamp:
Jun 14, 2016, 9:12:19 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6a631da
Parents:
b61d5cac
git-author:
Sebastian Huber <sebastian.huber@…> (06/14/16 09:12:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/14/16 09:58:02)
Message:

posix: sched_get_priority_min()

Enable for all configurations since it pulls in no additional
dependencies.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/Makefile.am

    rb61d5cac rea02782a  
    209209
    210210libposix_a_SOURCES += src/sched_getparam.c src/sched_getprioritymax.c \
    211     src/sched_getprioritymin.c src/sched_getscheduler.c \
     211    src/sched_getscheduler.c \
    212212    src/sched_rr_get_interval.c src/sched_setparam.c \
    213213    src/sched_setscheduler.c src/sched_yield.c
    214214endif
    215215
     216libposix_a_SOURCES += src/sched_getprioritymin.c
     217
    216218include $(srcdir)/preinstall.am
    217219include $(top_srcdir)/automake/local.am
  • testsuites/smptests/smpscheduler02/init.c

    rb61d5cac rea02782a  
    11/*
    2  * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2014, 2016 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    1717#endif
    1818
     19#include <sched.h>
     20
    1921#include <rtems.h>
    2022#include <rtems/libcsupport.h>
     
    4143
    4244  rtems_test_assert(rtems_get_current_processor() == 1);
     45  rtems_test_assert(sched_get_priority_min(SCHED_RR) == 1);
    4346
    4447  sc = rtems_event_transient_send(main_task_id);
     
    131134  rtems_test_assert(CPU_EQUAL(&cpuset, &first_cpu));
    132135
     136  rtems_test_assert(sched_get_priority_min(SCHED_RR) == 1);
     137
    133138  if (cpu_count > 1) {
    134139    sc = rtems_task_set_scheduler(task_id, scheduler_b_id);
Note: See TracChangeset for help on using the changeset viewer.