From 8a665cb87c7f9c49269b5f7686860925f214a53e Mon Sep 17 00:00:00 2001 From: Pavel <68122101+red-prig@users.noreply.github.com> Date: Thu, 10 Jul 2025 17:55:57 +0300 Subject: [PATCH] + --- kernel/libthr/thr_init.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;