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

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