//frsh_thread_id_t fosa_thread_self();
extern inline frsh_thread_id_t fosa_thread_self(){
- retrun pthread_self();
+ return pthread_self();
}
/*************************
**/
int fosa_thread_set_prio(frsh_thread_id_t tid, int prio);
extern inline fosa_thread_set_prio(frsh_thread_id_t tid, int prio){
- if ((ched_get_priority_min(0)<=prio) || (prio<=sched_get_priority_min(0))){
+ if ((sched_get_priority_min(0)<=prio) || (prio<=sched_get_priority_min(0))){
pthread_setschedprio(tid,prio);
return 0;
}