From mboxrd@z Thu Jan 1 00:00:00 1970 From: "yyl" To: "ecos" Subject: [ECOS] about timeslice and same priority thread switch. Date: Mon, 29 May 2000 18:27:00 -0000 Message-id: <002001bfc9d5$a9f843a0$2901a8c0@21> X-SW-Source: 2000-05/msg00249.html Hi, after finished building the ecos1.3.1 on Redhat linux6.1(target is pc x86),I use gdb stub and the example twothreads.c to test. >From the doc ument and the code of kernel, I think the threads of same priority should switch by timeslice .But after comment the sentence in twothreads.c as followed:           cyg_thread_delay(200); I find no switch.Who can tell me why? I think the switch of thread invoked by dsr of real time clock interrupt.Is that right?   Thanks a lot. Â