avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Sleep mode and global interrut enable


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] Sleep mode and global interrut enable
Date: Sun, 20 Nov 2005 22:16:55 +0100
User-agent: Mutt/1.4.2.1i

As Dmitry K. wrote:

> > > Could we perhaps get some new macros
> > > into sleep.h?

> The C99 standart has entered new data types with exotic names like
> _Bool, _Complex.  The reason consist that the choice of simple names
> (bool, complex) would lead to necessity to correct thousands already
> written programs.

>    What about to rename new 'sleep()' into another?

Yes, I agree with this.  The reason why we didn't chose sleep() in the
first place was in particular, that a function named sleep() is
typically used to pause program execution for that number of seconds,
which is something completely different than our sleep instruction
does.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)





reply via email to

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