]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - include/fosa_threads_and_signals.h
Including FOSA for MarTE-OS
[frescor/fosa.git] / include / fosa_threads_and_signals.h
index b958a6af451b5c7ca2420452bdbe92176ddee5c6..6164bd0e0139cd2ecab5f35bec8978fbb2962b99 100644 (file)
@@ -62,6 +62,8 @@
 #ifndef        FOSA_THREAD_AND_SIGNALS_H_
 #define        FOSA_THREAD_AND_SIGNALS_H_
 
+#include "fosa_types.h"
+
 /**
  * @defgroup threadandsignals Thread and Signals
  * @ingroup fosa
@@ -138,7 +140,7 @@ frsh_thread_id_t fosa_thread_self();
 
 /**
  * Note: no thread termination primitive is provided. The termination
- * of a thread will be notifoed by the system to the FRSH scheduler
+ * of a thread will be notified by the system to the FRSH scheduler
  * through the scheduler API
  **/
 
@@ -275,7 +277,7 @@ int fosa_thread_attr_set_prio(frsh_thread_attr_t *attr, int prio);
  * Returns 0
  **/
  int fosa_thread_attr_get_prio
-          (const frsh_thread_attr_t *attr, size_t *prio);
+          (const frsh_thread_attr_t *attr, int *prio);
 
 /**
  * fosa_thread_set_prio()