cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2dad98241094589162a37b22f1dc33cd03f09ff6
commit 2dad98241094589162a37b22f1dc33cd03f09ff6 Author: Tae-Hwan Kim <the81....@samsung.com> Date: Fri Oct 31 09:26:47 2014 +0100 eina: group eina_sched Summary: Schedule group is made for eina_sched_xxx. It is grouped into Tools group. Futher description is needed later. Reviewers: raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1623 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/eina/eina_sched.h | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/src/lib/eina/eina_sched.h b/src/lib/eina/eina_sched.h index 43f32b9..13f35a4 100644 --- a/src/lib/eina/eina_sched.h +++ b/src/lib/eina/eina_sched.h @@ -16,6 +16,16 @@ * if not, see <http://www.gnu.org/licenses/>. */ +/** + * @defgroup Schedule Schedule + * @ingroup Eina_Tools_Group + * + * @{ + * + * TODO: description + * + */ + #ifndef EINA_SCHED_H_ #define EINA_SCHED_H_ @@ -23,17 +33,21 @@ /** - * @brief Lower priority of current thread. + * @brief Lowers the priority of the current thread. * - * It's used by worker threads so they use up background cpu and do not stall - * the main thread If current thread is running with real-time priority, we - * decrease our priority by @c RTNICENESS. This is done in a portable way. + * @details It's used by worker threads so that they use up the background CPU and do not stall + * the main thread. If the current thread is running with real-time priority, we + * decrease our priority by @c RTNICENESS. This is done in a portable way. * - * Otherwise (we are running with SCHED_OTHER policy) there's no portable way to - * set the nice level on current thread. In Linux, it does work and it's the - * only one that is implemented as of now. In this case the nice level is - * incremented on this thread by @c NICENESS. + * Otherwise, (we are running with the SCHED_OTHER policy) there's no portable way to + * set the nice level on the current thread. In Linux, it does work and it's the + * only one that is implemented as of now. In this case, the nice level is + * incremented on this thread by @c NICENESS. */ EAPI void eina_sched_prio_drop(void); +/** + * @} + */ + #endif /* EINA_SCHED_H_ */ --