← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 617988] Re: atomic counters implemented

 

** Branch linked: lp:~gpr/dcplusplus/sync

-- 
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 DC++: New
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