diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-07-05 20:57:56 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-07-05 22:05:07 +0200 |
commit | 1fa6f95135cfec036d7f3104816ff2c00208f54c (patch) | |
tree | ecfad4defe4328afc405e8f7e64f1f6a10074d63 /priod.c | |
parent | 456c362811ce8a1eb06f154d70cb2dbb0266d3c4 (diff) | |
download | desktop-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |