From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,860982ed68c35cc5,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-05-18 02:26:34 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!newsserver.jvnc.net!news.edu.tw!news!ccds3.ntu.edu.tw!r0506028 From: r0506028@solar.csie.ntu.edu.tw (Ping-fang Chen) Subject: Asking: Scheduling question on MACH 3.0 Message-ID: <1993May18.092049.18350@ccds3.ntu.edu.tw> Sender: usenet@ccds3.ntu.edu.tw (USENET PROXY ACCOUNT) Nntp-Posting-Host: pluto.csie.ntu.edu.tw Organization: Computer Sys Lab, NTU, Taiwan X-Newsreader: TIN [version 1.1 PL9] Date: Tue, 18 May 1993 09:20:49 GMT Hi, I have a question with scheduling on MACH 3.0, please refer the follow prog running under UX server's csh with C Threads library. main() { : cthrea_fork(..); : } My questions are : 1. Does the newly forked cthread is directly scheduled by the kernel thread via the C threads library? Does it scheduled via the UNIX server ? 2. What's the difference between the parent thread and the child thread from the point of view of scheduling? 3. If I raise the child thread's priority via thread_priority(thread, prio, FALSE), can I have this thread get the same scheduling priority as UNIX server. Any one has comments, please give me a mail. Thanks. --Ping-fang