mirror of
https://github.com/gperftools/gperftools
synced 2025-01-04 13:42:02 +00:00
issue-546: fixed return type of Release_AtomicExchange on arm6+
git-svn-id: http://gperftools.googlecode.com/svn/trunk@224 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
This commit is contained in:
parent
d8e12e94ea
commit
7c2aa2f7c2
@ -110,7 +110,7 @@ inline Atomic32 Acquire_AtomicExchange(volatile Atomic32* ptr,
|
||||
return old_value;
|
||||
}
|
||||
|
||||
inline Atomic64 Release_AtomicExchange(volatile Atomic32* ptr,
|
||||
inline Atomic32 Release_AtomicExchange(volatile Atomic32* ptr,
|
||||
Atomic32 new_value) {
|
||||
MemoryBarrier();
|
||||
return NoBarrier_AtomicExchange(ptr, new_value);
|
||||
|
Loading…
Reference in New Issue
Block a user