diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-03-23 18:58:37 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-06-13 17:14:13 +0200 |
commit | cab05ba72abeb335b456b0820e053c94b91986e7 (patch) | |
tree | 7052b78f77089bb4a3a42e0f215cd444d14f72eb /src/jobs.h | |
parent | e7e42ce9196e865a2dfd5a460932b0357885e603 (diff) |
jobs: Switch to fdev_epoll instead of sd_event
Use by default an epoll of jobs for handling HTTP and
websockets. The sd_event loop remains available (to be checked).
Change-Id: Iaaad005c9880ba1818936a93c8626490666c9eec
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/jobs.h')
-rw-r--r-- | src/jobs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,7 @@ #pragma once +struct fdev_epoll; struct sd_event; struct jobloop; @@ -41,6 +42,7 @@ extern int jobs_call( void *arg); extern struct sd_event *jobs_get_sd_event(); +extern struct fdev_epoll *jobs_get_fdev_epoll(); extern void jobs_terminate(); |