eio: simplify code by using helper that generate future directly.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 23 Nov 2018 01:14:16 +0000 (17:14 -0800)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:52:40 +0000 (14:52 +0900)
commit91de33f3799b091cec54a4d2f342b2ead85f0f00
tree8f9b26582c12dd66ec8ce92c25cf58ce57507ce5
parentb62d6d9638966bd76cc86308f000f98079beead1
eio: simplify code by using helper that generate future directly.

The new helper help replace call to eina_future_resolved and eina_future_rejected with
a scheduler lookup to just one function call.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7339
src/lib/eio/eio_model.c