summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-26 18:10:19 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-06-28 18:08:45 +0200
commitf41b9ea204394fea81fe709e07fdf31db6dfc2b6 (patch)
tree7ac30c20fefa1083a9a159fdf8351fbaf774b1fa /src/lib/eio
parent1544ec480879aac89442bf6eabdc3bd893474b7f (diff)
eio/fallback: mark all fallback monitors as fallbacks, not just for win32
@fix Differential Revision: https://phab.enlightenment.org/D6443
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/eio_monitor_poll.c1
-rw-r--r--src/lib/eio/eio_monitor_win32.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eio/eio_monitor_poll.c b/src/lib/eio/eio_monitor_poll.c
index b47ed8c944..36e36f6ee4 100644
--- a/src/lib/eio/eio_monitor_poll.c
+++ b/src/lib/eio/eio_monitor_poll.c
@@ -328,6 +328,7 @@ eio_monitor_fallback_add(Eio_Monitor *monitor)
328 backend->children = eina_hash_string_superfast_new(free); 328 backend->children = eina_hash_string_superfast_new(free);
329 backend->parent = monitor; 329 backend->parent = monitor;
330 monitor->backend = backend; 330 monitor->backend = backend;
331 monitor->fallback = EINA_TRUE;
331 backend->work = ecore_thread_run(_eio_monitor_fallback_heavy_cb, 332 backend->work = ecore_thread_run(_eio_monitor_fallback_heavy_cb,
332 _eio_monitor_fallback_end_cb, 333 _eio_monitor_fallback_end_cb,
333 _eio_monitor_fallback_cancel_cb, 334 _eio_monitor_fallback_cancel_cb,
diff --git a/src/lib/eio/eio_monitor_win32.c b/src/lib/eio/eio_monitor_win32.c
index bfbb0ec546..6755e9f531 100644
--- a/src/lib/eio/eio_monitor_win32.c
+++ b/src/lib/eio/eio_monitor_win32.c
@@ -403,7 +403,6 @@ void eio_monitor_backend_add(Eio_Monitor *monitor)
403 free(backend); 403 free(backend);
404 fallback: 404 fallback:
405 INF("falling back to poll monitoring"); 405 INF("falling back to poll monitoring");
406 monitor->fallback = EINA_TRUE;
407 eio_monitor_fallback_add(monitor); 406 eio_monitor_fallback_add(monitor);
408} 407}
409 408