On Jan 3, 2008, at 8:58 AM, John Fredericks wrote:
I wonder why atomic_t is defined as a structure containing an
integer rather than just a simple integer?
What are the advantages?
Hope somebody can explain this, please cc me.
I would imagine that it's so fields could be added to the structure in
the future without needing to change all the source code that
references the initial integer.
-Mike
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ