Atomic increment and get?

Lev Serebryakov lev at
Mon Oct 3 09:38:03 UTC 2011

Hello, Hackers.

  Is here atomic increment and get (or add and get) operation in
 kernel? I cannot find one. Here is atomic_add_32(), but it doesn't
 return result. And here is no atomic_add_64() on 32 bit system :(

// Black Lion AKA Lev Serebryakov <lev at>

More information about the freebsd-hackers mailing list