ecore_main: Add ECORE_FD_ALWAYS flag
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Tue, 12 Feb 2019 18:51:02 +0000 (13:51 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:33 +0000 (20:49 +0900)
commita06d2bcabf646661cb189aec108d9b11b7722ac0
tree0cba5adf98955d6770c9051047e5cfcc5def20ec
parent215e7ac94b2cb461c6742c8a195ffb85cca7251d
ecore_main: Add ECORE_FD_ALWAYS flag

Summary:
This allows an fd handler to be called after select exits unconditionally.

Our wayland client code needs this to be thread safe, as it needs to
call prepare_read before entering select, and then either read or
cancel_read after select.

Reviewers: cedric

Reviewed By: cedric

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7914
src/lib/ecore/Ecore_Common.h
src/lib/ecore/ecore_main.c
src/lib/ecore/ecore_private.h