please answer my Question.

fakhalesi fakhalesi at gmail.com
Tue Nov 1 13:21:54 UTC 2011


Hello,

In my project ,I insert three variables(int slack_mode, uint64_t
deadline,uint64_t WECT ) in struct  td_sched in place of
/sys/kern/sched_ule.c 

Then I have to add  three method 

 ü int set_process_slack(pid_t pid, struct timeval wcet , struct timeval
deadline);

ü int get_process_slack(pid_t pid, struct slackconf *slc);

ü int disable_process_slack(pid_t pid);

In 

 



I don’t know how get first thread of pid then set their variables 

 

Best regards,



More information about the freebsd-questions mailing list