2008-04-07 06:55:42 About pthread question
new kernel (CHINA)
Message: 53745 Why I can't invoke funcations that like sched_setscheduler,sched_yield etc in uClibc ,but pthread is OK?
QuoteReplyEditDelete
2008-04-07 07:00:28 Re: About pthread question
new kernel (CHINA)
Message: 53746 So does uClinux kernel support realtime strategy?
QuoteReplyEditDelete
2008-04-07 14:29:18 Re: About pthread question
Mike Frysinger (UNITED STATES)
Message: 53758 i really dont understand your questions ... what is your problem ?
QuoteReplyEditDelete
2008-04-07 14:29:38 Re: About pthread question
Mike Frysinger (UNITED STATES)
Message: 53759 please explain what you mean by "realtime strategy"
QuoteReplyEditDelete
2008-04-07 22:50:58 Re: About pthread question
new kernel (CHINA)
Message: 53787 I have process A which has two threads: a1 and a2, they are set to SCHED_RR . Another process B has two threads: b1 and b2, they are set to SCHED_OTHER.
When does process B get the cpu timeslice?
QuoteReplyEditDelete
2008-04-07 23:06:14 Re: About pthread question
Mike Frysinger (UNITED STATES)
Message: 53789 thread priority only affects the scheduling process within the process. it has no bearing at all on inter-process scheduling, let alone threads in different processes.
QuoteReplyEditDelete
2008-04-08 00:05:43 Re: About pthread question
new kernel (CHINA)
Message: 53797 Hi Mike,
Thank you very mach for replying my question.
So can I set the process to SCHED_RR in uClinux2008R1? How SCHED_RR process yield cpu to SCHED_OTHER process ?
QuoteReplyEditDelete
2008-04-08 00:24:05 Re: About pthread question
Mike Frysinger (UNITED STATES)
Message: 53798 review the API exposed by sched.h:
http://www.opengroup.org/onlinepubs/009695399/basedefs/sched.h.html
those functions control inter-process scheduling details