Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-17 14:23:28 +0300
committerFelix Fietkau <nbd@nbd.name>2016-05-17 14:23:38 +0300
commit6a75b3b6437d3c98d852c1bca131c8f81646f2f5 (patch)
tree1223e9f430ceab79033ef9952d0b98244d93ba23 /uloop-kqueue.c
parent8ae74b4378827d48f655c509d786a6e054e9d0b2 (diff)
uloop: try to use signalfd for signal handling if available
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'uloop-kqueue.c')
-rw-r--r--uloop-kqueue.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/uloop-kqueue.c b/uloop-kqueue.c
index 0cb1c14..e93bc82 100644
--- a/uloop-kqueue.c
+++ b/uloop-kqueue.c
@@ -15,6 +15,13 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+
+static bool
+uloop_setup_signalfd(bool add)
+{
+ return false;
+}
+
int uloop_init(void)
{
struct timespec timeout = { 0, 0 };