ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
28 марта
568859 Топик полностью
il-2 (25.12.2014 11:32, просмотров: 210) ответил AlexBi на Мне кажется приоритеты нужны. Например есть задача обработки пакета, принятого по СОМ-порту, и отправка ответа. Время уходящее на обработку 1-2мс. И есть задача обработки нажатия на кнопку, время ее работы может быть 50-100мс. Кажется логичным,
TNKernel здесь ни при чем, виноваты вот эти товарищи :-) -> http://www.ertl.jp/ITRON/SPEC/FILE/mitron-400e.pdf
3.2.2 Task Scheduling Rules ... In the ITRON Specifications, as long as the highest precedence task is in the runnable state, no lower precedence tasks are allowed to execute. No other tasks will execute unless the highest precedence task cannot be executed for some reason, such as being placed in the WAITING state. In this respect, the scheduling rule of the ITRON Specifications differs entirely from TSS (Time-Sharing Systems), which attempts to execute multiple tasks as equally as possible.