언어 설정

Menu
Sites
Language
How to pause and resume Tizen thread ?

HI,

 

I'm developing one application where I need to hold the execution of main thread untill user gives access, can anyone help me to achieve this/

 

Thanks and Regards,

Supreeth

Responses

1 댓글
Yasin Ali

Hi,

The EFL is event-driven. This means that the application polls for data, and listens for events to interact with it.

If you move a blocking operation to a separate thread, it cannot block the event loop and keeps the user interface reactive.
For your information blocking the event loop and using long-running callbacks means the application cannot update its graphical user interface.
Check out below links for detail:
1. https://developer.tizen.org/ko/development/guides/native-application/user-interface/efl/core-loop-and-os-interfacing/using-threads?langredirect=1
2. https://developer.tizen.org/ko/development/guides/native-application/user-interface/efl/core-loop-and-os-interfacing/using-threads?langredirect=1
Example:
https://developer.tizen.org/ko/development/sample/native/UI/EFL_Core_samples?langredirect=1

Hope it will help you.
If you find my post is helpful for you, please mark it as answer to promote this post to others.