Date: Mon, 3 Oct 2011 13:37:54 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: hackers@freebsd.org Subject: Atomic increment and get? Message-ID: <558829232.20111003133754@serebryakov.spb.ru>
next in thread | raw e-mail | index | archive | help
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 :( --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?558829232.20111003133754>