mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-16 01:26:04 +02:00
20 lines
1.5 KiB
PHP
20 lines
1.5 KiB
PHP
|
|
|
|
function sched_setparam(__pid:__pid_t; __param:Psched_param):longint;cdecl;external clib name 'sched_setparam';
|
|
function sched_getparam(__pid:__pid_t; __param:Psched_param):longint;cdecl;external clib name 'sched_getparam';
|
|
function sched_setscheduler(__pid:__pid_t; __policy:longint; __param:Psched_param):longint;cdecl;external clib name 'sched_setscheduler';
|
|
function sched_getscheduler(__pid:__pid_t):longint;cdecl;external clib name 'sched_getscheduler';
|
|
function sched_yield:longint;cdecl;external clib name 'sched_yield';
|
|
function sched_get_priority_max(__algorithm:longint):longint;cdecl;external clib name 'sched_get_priority_max';
|
|
function sched_get_priority_min(__algorithm:longint):longint;cdecl;external clib name 'sched_get_priority_min';
|
|
function sched_rr_get_interval(__pid:__pid_t; __t:Ptimespec):longint;cdecl;external clib name 'sched_rr_get_interval';
|
|
|
|
{ ---------------------------------------------------------------------
|
|
Borland compatibility types
|
|
---------------------------------------------------------------------}
|
|
|
|
function sched_setparam(__pid:__pid_t; var __param: sched_param):longint;cdecl;external clib name 'sched_setparam';
|
|
function sched_getparam(__pid:__pid_t; var __param: sched_param):longint;cdecl;external clib name 'sched_getparam';
|
|
function sched_setscheduler(__pid:__pid_t; __policy:longint; var __param: sched_param):longint;cdecl;external clib name 'sched_setscheduler';
|
|
function sched_rr_get_interval(__pid:__pid_t; var __t: timespec):longint;cdecl;external clib name 'sched_rr_get_interval';
|