path: root/src
diff options
authorWonki Kim <wonki_.kim@samsung.com>2019-01-09 12:46:49 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-01-09 13:08:43 -0500
commitd48ec2679b8f9e714c1f7f3fef4da49ac71044e6 (patch)
treec43a13ba92c7b03b5c1d3beefd1655b4a4d4f546 /src
parenttextblock: Fix crash with filters (diff)
ecore: modify documentation for ecore_thread_wait
Summary: this patch modify ecore_thread_wait documentation to use it only main llop explicitly. Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7225
Diffstat (limited to 'src')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore/Ecore_Common.h b/src/lib/ecore/Ecore_Common.h
index c446fb3b05..cccb5b736c 100644
--- a/src/lib/ecore/Ecore_Common.h
+++ b/src/lib/ecore/Ecore_Common.h
@@ -1895,6 +1895,9 @@ EAPI Eina_Bool ecore_thread_cancel(Ecore_Thread *thread);
* @param thread The thread to wait on.
* @param wait Maximum time to wait before exiting anyway.
* @return EINA_TRUE if the thread execution is over.
+ *
+ * Note: This function should only be called in the main loop.
+ *
EAPI Eina_Bool ecore_thread_wait(Ecore_Thread *thread, double wait);