#ifndef FOSA_THREAD_AND_SIGNALS_H_
#define FOSA_THREAD_AND_SIGNALS_H_
+#include "fosa_types.h"
+
/**
* @defgroup threadandsignals Thread and Signals
* @ingroup fosa
/**
* 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
**/
* 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()