diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-07-30 15:22:03 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-07-30 15:22:03 -0400 |
commit | d0e10dd2734ce9d1cac6569e4c2c3975dbffcbe8 (patch) | |
tree | 2f8937d8f8f04ce48e4c556a9dec6a5f42f55966 /src/lib | |
parent | c594c83a02cdd0000dd7ccefd6761ec613330278 (diff) |
ecore: Fix download test.
Summary:
After ecore_main_loop_quit() changes, calling it from outside the main
loop does not make the next iteration of the main loop quit, causing the
original version of the test to deadlock.
Also update the function documentation about it.
Reviewers: zmike
Reviewed By: zmike
Subscribers: cedric, #reviewers, felipealmeida, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9448
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ecore/Ecore_Common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/ecore/Ecore_Common.h b/src/lib/ecore/Ecore_Common.h index 1530036e63..8f1a99bc04 100644 --- a/src/lib/ecore/Ecore_Common.h +++ b/src/lib/ecore/Ecore_Common.h | |||
@@ -317,8 +317,10 @@ EAPI void ecore_main_loop_begin(void); | |||
317 | * Quits the main loop once all the events currently on the queue have | 317 | * Quits the main loop once all the events currently on the queue have |
318 | * been processed. | 318 | * been processed. |
319 | * | 319 | * |
320 | * This function returns immediately, but will mark the ecore_main_loop_begin() | 320 | * This function returns immediately, but if called inside the main loop |
321 | * function to return at the end of the current main loop iteration. | 321 | * it will mark the ecore_main_loop_begin() function to return at the |
322 | * end of the current main loop iteration. | ||
323 | * | ||
322 | */ | 324 | */ |
323 | EAPI void ecore_main_loop_quit(void); | 325 | EAPI void ecore_main_loop_quit(void); |
324 | 326 | ||