efl/src/tests/ecore
Cedric BAIL 91711d8a69 ecore: add Ecore_Coroutine.
That work clearly was possible thanks to Leandro. If you want more information
go to his blog : http://tia.mat.br/posts/async_io_with_coroutines/ .

The main difference with his implementation is more portable and not thread safe.
It does not have a custom swapcontext (would make sense as we don't need to save
the sigcontext) so it will be less fast. If people are ready to contribute asm
patch for that purpose I will be happy to apply them.

As for portability this code should work on all architecture we already support
thanks to a nice hack with setjmp/longjmp borowed from libcoroutine. We do use
Fiber for Windows support, but as 1.8 is completely borken in that regard, this
is theorical work only.

Thinks left to do :
- Eoify the API
- Documentation
- More tests
- Add support for coroutine in fd handler
- Add coroutine support to ecore_thread api
- Write some example
2013-02-18 14:38:33 +01:00
..
ecore_suite.c ecore: add Ecore_Coroutine. 2013-02-18 14:38:33 +01:00
ecore_suite.h ecore: add Ecore_Coroutine. 2013-02-18 14:38:33 +01:00
ecore_test_coroutine.c ecore: add Ecore_Coroutine. 2013-02-18 14:38:33 +01:00
ecore_test_ecore.c Ecore: merge unit tests, ignore++ 2012-12-03 18:29:51 +00:00
ecore_test_ecore_audio.c ecore_audio tests: Use the correct libcheck functions 2013-01-17 10:29:19 +00:00
ecore_test_ecore_con.c ecore_suite: disable ecore_con tests that are bogus for an unit test. 2013-01-16 18:16:14 +00:00
ecore_test_ecore_imf.c efl/imf test: Remove unused modules varibale. 2013-01-18 15:45:49 +00:00
ecore_test_ecore_x.c Ecore: merge unit tests, ignore++ 2012-12-03 18:29:51 +00:00
modem.wav ecore_audio: Add tests case 2012-12-14 23:38:40 +00:00
sms.ogg ecore_audio: Add tests case 2012-12-14 23:38:40 +00:00