]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_fosa.h
Adding a new "simplified" make system based on rules.mk and config.mk as it
[frescor/frsh-include.git] / frsh_fosa.h
index cf66db0019e6a1c097012444109e386ecdb655b0..2c3c6ad6248cf7611d54606acb1c512782673be5 100644 (file)
@@ -210,6 +210,15 @@ int frsh_thread_attr_set_stacksize(frsh_thread_attr_t *attr, size_t stacksize);
 int frsh_thread_attr_get_stacksize
       (const frsh_thread_attr_t *attr, size_t *stacksize);
 
+
+/**
+ * frsh_eat()
+ *
+ * Keep the thread busy executing for a given period of time.
+ **/
+void  frsh_eat(const struct timespec *cpu_time);
+
+
 /*@}*/