[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [patch #4611] sleep.h sleep_mode() not interrupt safe

From: Joerg Wunsch
Subject: [avr-libc-dev] [patch #4611] sleep.h sleep_mode() not interrupt safe
Date: Tue, 27 Dec 2005 23:44:49 +0100
User-agent: Mozilla/5.0 Galeon/1.2.13 (X11; FreeBSD i386; U;) Gecko/0

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


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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]