ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] cleaning event handler


From: Ryan Yeske
Subject: Re: [RP] cleaning event handler
Date: 20 Apr 2001 11:25:10 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

address@hidden writes:

> At Fri, 20 Apr 2001 10:07:46 -0700 (PDT) , Jonathan Walther <address@hidden> 
> wrote: 
> 
> >-----BEGIN PGP SIGNED MESSAGE-----
> >
> >Ok, let me put this in different words.  The way the compiler currently 
> >works,
> >if you declare a variable as "register", theres a whole host of optimizations
> >that can't be done with regard to it.  Whether or not it actually goes into 
> >the
> >register, the compiler has to treat it specially.  Unless thats changed 
> >*very*
> >recently, thats still the way it is.  Theres a reason you don't see it used
> >much in the Linux kernel source, where you would expect to see it all over
> >the place.  GNU compiler currently just ignores register directive on x86 
> >machines
> >anyway, but still treats the var with kid gloves.
> 
> hmm, this does make register pretty useless. I admit if I were
> writing an xmalloc function I wouldn't use register. Perhaps rc has
> some comments since he wrote it...

Roland McGrath and Richard Stallman wrote it actually.  Its from the glibc 
manual.

Ryan



reply via email to

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