Ticks per timeslice issue

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Apr 12 09:22:51 UTC 2013

Hello Mohammed,

the problem is the polled console driver used by your shell task.  It uses a 
busy loop to wait for input with a rtems_task_wake_after(1).  This leads to 
constant thread switches.  The Classic API tasks use 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE which resets the time budget after 
each thread switch.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the users mailing list