Module: xenomai-forge
Branch: next
Commit: 57f5c3e67cdce215b26aa3d7c36e45ad004d1ed4
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=57f5c3e67cdce215b26aa3d7c36e45ad004d1ed4

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Dec 19 15:56:37 2013 +0100

copperplate/registry: detect SCHED_QUOTA policy for threads

---

 lib/copperplate/regd/fs-common.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/copperplate/regd/fs-common.c b/lib/copperplate/regd/fs-common.c
index d4e2b78..96a4f87 100644
--- a/lib/copperplate/regd/fs-common.c
+++ b/lib/copperplate/regd/fs-common.c
@@ -158,6 +158,11 @@ ssize_t read_threads(struct fsobj *fsobj, char *buf,
                        sched_class = "tp";
                        break;
 #endif
+#ifdef SCHED_QUOTA
+               case SCHED_QUOTA:
+                       sched_class = "quota";
+                       break;
+#endif
                default:
                        sched_class = "other";
                        break;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to