diff --git a/kernel/libthr/thr_init.pas b/kernel/libthr/thr_init.pas index 4382ad31..59667cd2 100644 --- a/kernel/libthr/thr_init.pas +++ b/kernel/libthr/thr_init.pas @@ -12,8 +12,7 @@ uses pthread, pthread_md, thr_umtx, - thr_private, - thr; + thr_private; var _usrstack :Pointer=Pointer($FFFFFFEFFF); //USRSTACK kern.usrstack @@ -173,6 +172,8 @@ begin thread^.state:=PS_RUNNING; + param:=Default(sched_param); + //_thr_getscheduler(thread^.tid,@thread^.attr.sched_policy,@param); thread^.attr.prio:=param.sched_priority;