HomeFreeBSD

libthr: use atomic_add_int() instead of atomic_fetchadd_int()

Description

libthr: use atomic_add_int() instead of atomic_fetchadd_int()

the return value is ignored.

Reviewed by: markj, olce
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D48454

Details

Provenance
kibAuthored on Mon, Jan 13, 7:18 PM
Reviewer
markj
Differential Revision
D48454: Fix libthr initialization from constructors
Parents
rGbec5a3c046ba: nextboot: Smarter warning about deleting nextboot
Branches
Unknown
Tags
Unknown