Do not use it.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@62530
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
EAPI Eina_Bool eina_main_loop_is(void);
/**
+ * @brief You should never use that function excpet if you really really know what your are doing.
+ * @since 1.1.0
+ *
+ * If you are reading this documentation, that certainly means you don't know what is the purpose of
+ * this call and you should just not use it.
+ */
+EAPI void eina_main_loop_define(void);
+
+/**
* @}
*/
return EINA_FALSE;
}
+/** The purpose of this API should not be documented, it is used only by the one who know what they are doing. */
+EAPI void
+eina_main_loop_define(void)
+{
+ _eina_pid = getpid();
+ _eina_main_loop = pthread_self();
+}
+
/**
* @}
*/