doxygen docs: Complete docs for Eina Thread

This commit is contained in:
Xavi Artigas 2020-05-08 11:54:49 +02:00
parent a80b1dca23
commit 3cc754440e
1 changed files with 5 additions and 14 deletions

View File

@ -25,14 +25,9 @@
#include <stdint.h>
/**
* @addtogroup Eina_Tools_Group Tools
*
* @{
*/
/**
* @defgroup Eina_Thread_Group Thread
* @ingroup Eina_Tools_Group
*
* Abstracts platform threads, providing a uniform API. It's modeled
* after POSIX THREADS (pthreads), on Linux they are almost 1:1
@ -62,10 +57,10 @@ typedef void *(*Eina_Thread_Cb)(void *data, Eina_Thread t);
*/
typedef enum _Eina_Thread_Priority
{
EINA_THREAD_URGENT,
EINA_THREAD_NORMAL,
EINA_THREAD_BACKGROUND,
EINA_THREAD_IDLE
EINA_THREAD_URGENT, /**< Higher than average process priority */
EINA_THREAD_NORMAL, /**< Standard process priority */
EINA_THREAD_BACKGROUND, /**< Lower than average process priority */
EINA_THREAD_IDLE /**< Thread to be executed only when the processor is idle */
} Eina_Thread_Priority;
/**
@ -338,10 +333,6 @@ typedef void *(*Eina_Thread_Cancellable_Run_Cb)(void *data);
*/
EAPI void *eina_thread_cancellable_run(Eina_Thread_Cancellable_Run_Cb cb, Eina_Free_Cb cleanup_cb, void *data);
/**
* @}
*/
/**
* @}
*/