summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Hwan Kim <the81.kim@samsung.com>2014-10-31 09:26:47 +0100
committerCedric BAIL <cedric@osg.samsung.com>2014-10-31 09:26:49 +0100
commit2dad98241094589162a37b22f1dc33cd03f09ff6 (patch)
treeacb987a419f886deb582dc95251b13b395735104
parent980cd1ee57c6bcc35e8fa97a8de069f6858f88f7 (diff)
downloadefl-2dad98241094589162a37b22f1dc33cd03f09ff6.tar.gz
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 <cedric@osg.samsung.com>
-rw-r--r--src/lib/eina/eina_sched.h30
1 files changed, 22 insertions, 8 deletions
diff --git a/src/lib/eina/eina_sched.h b/src/lib/eina/eina_sched.h
index 43f32b9c7b..13f35a4476 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_ */