From da494896914a327476ab7e0298619d742a6205d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 10 Jan 2023 19:40:04 +0100 Subject: Add support for scheduling policies Add a process column for scheduling policy to show the current scheduling policy of the process. Add a the ability to change the scheduling policy of a process via the key 'Y'. Currently implemented on Linux and FreeBSD only but should be portable, since sched_getscheduler(2) is part of POSIX.1-2001. Closes: #1161 --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8af1864a..1c685e4d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,6 +73,7 @@ myhtopsources = \ ProcessList.c \ ProcessLocksScreen.c \ RichString.c \ + Scheduling.c \ ScreenManager.c \ ScreensPanel.c \ Settings.c \ @@ -135,6 +136,7 @@ myhtopheaders = \ ProcessLocksScreen.h \ ProvideCurses.h \ RichString.h \ + Scheduling.h \ ScreenManager.h \ ScreensPanel.h \ Settings.h \ -- cgit v1.2.3