[lkml]   [2002]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: atomic64_t proposal

I do like the atomic_inc, atomic_dec, etc being able to handle either
type. While producing code, I can do a simple check at the beginning of
the block and define the appropriate type for a particular architecture.

For instance:

atomic64_t my_atomic;
atomic_t my_atomic;

Without it, I end up doing alot of other magic. I don't see a problem
with having the #defines versus the inlines. Why have two chunks of code
which do exactly the same operations with only type differences?

Robin Holt

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.064 / U:4.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site