Subject: Re: Bitfields and kernel
To: Greywolf <email@example.com>
From: Julian Assange <firstname.lastname@example.org>
Date: 09/30/1999 15:56:59
> I thought they were kinda neeto when I first discovered them, but
> unless you've got a processor that handles them intrinsically (and
> a compiler to make use of it), they use more cycles than they're
> worth. I've come to appreciate #defines/enums, myself.
enums are nice because they're visible to gdb.
the real value of bitfields comes into play when the width is greater
than a single bit, or the structure is meant to be opaque.