summaryrefslogtreecommitdiffstats
path: root/init/signal_handler.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-24 21:13:44 -0700
committerElliott Hughes <enh@google.com>2015-04-24 21:13:44 -0700
commit929f4070767d1e4806c058849178afa13d9ded1e (patch)
treeac2368c66c572e1fb95406d8542605993fa68f6a /init/signal_handler.h
parentdf5d4482074fc68a25a6a33992f3fc5164c2d3ec (diff)
downloadsystem_core-929f4070767d1e4806c058849178afa13d9ded1e.zip
system_core-929f4070767d1e4806c058849178afa13d9ded1e.tar.gz
system_core-929f4070767d1e4806c058849178afa13d9ded1e.tar.bz2
Switch init to epoll.
Not just because it's what the cool kids are doing --- it also lets us simplify the inner loop and decouple it from whatever systems want to be woken to perform some activity if there's data to be read on some fd. Currently this is just used to clean up the existing signal handling, keychord, and property service code. Change-Id: I4d7541a2c4386957ad877df69e3be08b96a7dec5
Diffstat (limited to 'init/signal_handler.h')
-rw-r--r--init/signal_handler.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/init/signal_handler.h b/init/signal_handler.h
index b092ccb..449b4af 100644
--- a/init/signal_handler.h
+++ b/init/signal_handler.h
@@ -17,8 +17,6 @@
#ifndef _INIT_SIGNAL_HANDLER_H_
#define _INIT_SIGNAL_HANDLER_H_
-void signal_init(void);
-void handle_signal(void);
-int get_signal_fd(void);
+void signal_handler_init(void);
#endif