Re: ‘SCHED_NORMAL’ not provided by Xenomai headers

Giulio Moro g.moro at qmul.ac.uk
Sat Jan 12 21:29:02 CET 2019


Also, it may be worth pointing out in the docs that SCHED_SPORADIC, SCHED_TP,  SCHED_QUOTA need kernel support ( the docs already mention something about kernel support for  SCHED_WEAK).

Giulio
________________________________________
From: Xenomai <xenomai-bounces at xenomai.org> on behalf of Giulio Moro via Xenomai <xenomai at xenomai.org>
Sent: 12 January 2019 20:08
To: Xenomai at xenomai.org
Subject: ‘SCHED_NORMAL’ not provided by Xenomai headers

The docs for sched_setscheduler_ex() [1] and pthread_setscheparam_ex()[2]  claim that among the valid values for policy there is  "SCHED_NORMAL"

however, SCHED_NORMAL is not provided by any of the Xenomai headers, so you get a compile-time error.

[1] https://xenomai.org/documentation/xenomai-3/html/xeno3prm/group__cobalt__api__scheduler.html#ga796071f20fd35a5e05972157745728af
[2] https://xenomai.org/documentation/xenomai-3/html/xeno3prm/group__cobalt__api__sched.html#ga405020019f5df8c7e74d30fd457384ed



More information about the Xenomai mailing list