Patch: Make Sched* struct fields public so they can be constructed
From 2c9979487f50ce3e6d38c7fa69f5ad5de4c60474 Mon Sep 17 00:00:00 2001
From: Jussi Viiri <[email protected]>
Date: Tue, 7 Jun 2022 21:00:19 +0300
Subject: [PATCH] Make Sched* struct fields public so they can be constructed
---
src/sched.rs | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
src/sched.rs +0 -0
@@ -8,25 +8,25 @@ use evl_sys::{
pub struct SchedAttrs(pub(crate) evl_sched_attrs);
pub struct SchedFifo {
- prio: i32,
+ pub prio: i32,
}
pub struct SchedRR {
- prio: i32,
+ pub prio: i32,
}
pub struct SchedWeak {
- prio: i32,
+ pub prio: i32,
}
pub struct SchedQuota {
- group: i32,
- prio: i32,
+ pub group: i32,
+ pub prio: i32,
}
pub struct SchedTP {
- part: i32,
- prio: i32,
+ pub part: i32,
+ pub prio: i32,
}
pub trait PolicyParam {
--
2.25.1
Philippe Gerum
AppliedQuoted 5 lines · Jussi Viiri via Xenomai
From
2c9979487f50ce3e6d38c7fa69f5ad5de4c60474Mon Sep 17 00:00:00 2001
From: Jussi Viiri <[email protected]>
Date: Tue, 7 Jun 2022 21:00:19 +0300
Subject: [PATCH] Make Sched* struct fields public so they can be constructed
Merged, thanks.
Signature · 1 line
Philippe.