Date: Tue, 1 Nov 2011 05:53:25 -0700 From: "fakhalesi" <fakhalesi@gmail.com> To: <freebsd-questions@FreeBSD.org> Subject: please answer my Question. Message-ID: <000001cc9895$4343af00$c9cb0d00$@gmail.com>
next in thread | raw e-mail | index | archive | help
This is a multipart message in MIME format. ------=_NextPart_000_0001_01CC985A.96EA0720 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 Then I have to add three method=20 =FC int set_process_slack(pid_t pid, struct timeval wcet , struct = timeval deadline); =FC int get_process_slack(pid_t pid, struct slackconf *slc); =FC int disable_process_slack(pid_t pid); In=20 =20 I don=92t know how get first thread of pid then set their variables=20 =20 Best regards, ------=_NextPart_000_0001_01CC985A.96EA0720--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001cc9895$4343af00$c9cb0d00$>