← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 617988] Re: atomic counters implemented

 

Marking as fixed in dc++. Let us know if you disagree with the approach
taken since it differs from your patch.

Will be included in linuxdcpp once we upgrade the core.

** Changed in: linuxdcpp
   Importance: Undecided => Low

** Changed in: linuxdcpp
       Status: New => Confirmed

** Changed in: dcplusplus
   Importance: Undecided => Low

** Changed in: dcplusplus
       Status: New => Fix Committed

-- 
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++: Fix Committed
Status in Linux DC++: Confirmed

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