RTEMS CPU Architecture Supplement
The AVR CPU has the XXX instruction which could be used to speed up the find first bit operation. The use of this instruction should significantly speed up the scheduling associated with a thread blocking.
RTEMS CPU Architecture Supplement
Copyright © 1988-2008 OAR Corporation