]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - src_rtlinux/fosa_threads_and_signals.h
git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@353 35b4ef3e-fd22...
[frescor/fosa.git] / src_rtlinux / fosa_threads_and_signals.h
index b21689a7bc473aa6e37065a85f49d58c90baaf18..04e80e5a9379e30d8dc2c506c3ba30e70fe317e8 100644 (file)
@@ -106,7 +106,7 @@ extern inline bool fosa_thread_equal(frsh_thread_id_t t1, frsh_thread_id_t t2){
 //frsh_thread_id_t fosa_thread_self();
 
 extern inline frsh_thread_id_t fosa_thread_self(){
-     retrun pthread_self();
+     return pthread_self();
 }
 
 /*************************
@@ -322,7 +322,7 @@ extern inline  int fosa_thread_attr_get_prio (const frsh_thread_attr_t *attr, si
  **/
 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;
      }