Tizen Native API  4.0
EFL Threading example 4

Now when you want to have a thread do some work, send back results to the mainloop and continue running but the mainloop controls when the thread should stop working, you need some extra flags. This is an example of how you might use ecore_main_loop_thread_safe_call_async() and pthreads to do this.

EFL Threading example 5

EFL Threading example 6