linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #01734
[Bug 617988] Re: atomic counters implemented
** Patch added: "atomic_count.patch"
https://bugs.launchpad.net/bugs/617988/+attachment/1490613/+files/atomic_count.patch
** Description changed:
Implemented atomic class template, which includes int32_t and uint32_t portable atomic counters from boost.
Using this class in "struct Counts" instead of heavy-weight safeInc/safeDec functions.
+ Also "operator!=" is removed from struct Counts (it is unused, and it is not safe in multithread)
--
atomic counters implemented
https://bugs.launchpad.net/bugs/617988
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in Linux DC++: New
Bug description:
Implemented atomic class template, which includes int32_t and uint32_t portable atomic counters from boost.
Using this class in "struct Counts" instead of heavy-weight safeInc/safeDec functions.
Also "operator!=" is removed from struct Counts (it is unused, and it is not safe in multithread)
References