eina: add eina_main_loop_define.
Do not use it. SVN revision: 62530
This commit is contained in:
parent
4955dc0c76
commit
1ec7bacc52
|
@ -142,6 +142,15 @@ EAPI int eina_threads_shutdown(void);
|
|||
*/
|
||||
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);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
@ -380,6 +380,14 @@ eina_main_loop_is(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();
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue