Subject: Re: Bitfields and kernel
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Brett Lymn <firstname.lastname@example.org>
Date: 09/30/1999 11:37:15
According to der Mouse:
>The biggest problem with this, aside from the nonportability various
>people have commented on, is that it becomes impossible to manipulate
>multiple bits at the same time. This can be important for setting and
>clearing bits and can be useful when testing bits.
*shrug* just union the bit fields with an appropriate sized unsigned
>More important, which is more comfortable for our kernel hackers? For
>what it's worth, I feel more comfortable with #defines.
I prefer bit fields :-)
Brett Lymn, Computer Systems Administrator, British Aerospace Australia