Follow-up Comment #1, patch #4611 (project avr-libc):

I just committed your patch to CVS, with the sleep() macro
name changed into sleep_cpu() (so it still starts with the
word "sleep" but cannot be confused with the Posix function
sleep()), and without the sleep_if() macro.  There has been
some discussion in avr-gcc-list, namely

http://lists.gnu.org/archive/html/avr-gcc-list/2005-12/msg00088.html

convinced me to rather add some explanation and an example
about how to use the other macros to get the effect of an
atomic test-and-sleep functionality.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4611>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to