This commit is contained in:
Pavel 2025-07-10 17:55:57 +03:00
parent c4cdbee0f8
commit 8a665cb87c
1 changed files with 3 additions and 2 deletions

View File

@ -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;