Re: [Emc-users] Thread scheduling

2017-06-11 Thread Jeff Epler
linuxcnc's thread model is "rate monotonic scheduling". - the thread with the smallest period (highest frequency) must be created first. It is created with the highest available priority in the underlying RTOS - subsequent threads must be ordered by frequency and get descending

Re: [Emc-users] Thread scheduling

2017-06-11 Thread Gene Heskett
On Sunday 11 June 2017 08:10:48 Nicklas Karlsson wrote: > Then adding a second thread with "threads" command with a period one > second it seems I got a lot more read timeouts than running the same > function at servo period. It might be a random error because of some > or scheduling. Do anybody

[Emc-users] Thread scheduling

2017-06-11 Thread Nicklas Karlsson
Then adding a second thread with "threads" command with a period one second it seems I got a lot more read timeouts than running the same function at servo period. It might be a random error because of some or scheduling. Do anybody know how threads with different periods are scheduled in