aboutsummaryrefslogtreecommitdiff
path: root/priod.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-07-05 20:57:56 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-07-05 22:05:07 +0200
commit1fa6f95135cfec036d7f3104816ff2c00208f54c (patch)
treeecfad4defe4328afc405e8f7e64f1f6a10074d63 /priod.c
parent456c362811ce8a1eb06f154d70cb2dbb0266d3c4 (diff)
downloaddesktop-tools-1fa6f95135cfec036d7f3104816ff2c00208f54c.tar.gz
desktop-tools-1fa6f95135cfec036d7f3104816ff2c00208f54c.tar.xz
desktop-tools-1fa6f95135cfec036d7f3104816ff2c00208f54c.zip
priod: systemd unit, configuration
Diffstat (limited to 'priod.c')
-rw-r--r--priod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/priod.c b/priod.c
index 8606593..07d2de0 100644
--- a/priod.c
+++ b/priod.c
@@ -522,6 +522,8 @@ main (int argc, char *argv[])
ctx.proc_event.user_data = &ctx;
poller_fd_set (&ctx.proc_event, POLLIN);
+ // TODO: iterate through current /proc processes and apply politics
+
ctx.polling = true;
while (ctx.polling)
poller_run (&ctx.poller);