Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libcxx
/
d74dee9255f3207c582e45948f31fbe5e62fb496
/
src
/
memory.cpp
c6e4669
[libcxx] Add atomic_support.h header to src that handles needed atomic operations.
by Eric Fiselier
· 10 years ago
01f6a14
Fix building and running tests when LIBCXX_ENABLE_EXCEPTIONS or LIBCXX_ENABLE_RTTI are turned off.
by Eric Fiselier
· 10 years ago
baed05d
Address some post-commit review comments on r217261
by Jonathan Roelofs
· 11 years ago
8d86b2e
Allow libc++ to be built on systems without POSIX threads
by Jonathan Roelofs
· 11 years ago
4c6acb5
Switch to using C++ style casts.
by Joerg Sonnenberger
· 11 years ago
e33c2d1
This should be nothing but a load-time optimization. I'm trying to reduce load time initializers and this is a big one. No visible functionality change intended.
by Howard Hinnant
· 12 years ago
9c0df14
Rename uses of _ and __ because these are getting stepped on by macros from other system code.
by Howard Hinnant
· 12 years ago
96c60b4
Patch contributed by Dev Dude for mingw64 port.
by Howard Hinnant
· 13 years ago
65f059b
Despite my pathological distrust of spin locks, the number just don't lie. I've put a small spin in __sp_mut::lock() on std::mutex::try_lock(), which is testing quite well. In my experience, putting in a yield for every failed iteration is also a major performance booster. This change makes one of the performance tests I was using (a highly contended one) run about 20 times faster.
by Howard Hinnant
· 13 years ago
5fec82d
Implement [util.smartptr.shared.atomic]. This is the last unimplemented
by Howard Hinnant
· 13 years ago
46e9493
Appy constexpr to <memory>. Picked up a few missing noexcepts as well.
by Howard Hinnant
· 13 years ago
5586c02
Fix memory leak in converting weak_ptr to shared_ptr
by Howard Hinnant
· 13 years ago
ec3773c
Quash a whole bunch of warnings
by Howard Hinnant
· 13 years ago
1694d23
noexcept for <memory>. I've added a few extension noexcept to: allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default|
by Howard Hinnant
· 14 years ago
b64f8b0
license change
by Howard Hinnant
· 14 years ago
28dbbe0
Dave Zarzycki showed how the efficiency of shared_ptr could be significantly
by Howard Hinnant
· 14 years ago
16e6e1d
Fixing whitespace problems
by Howard Hinnant
· 15 years ago
d444470
now works with -fno-exceptions and -fno-rtti
by Howard Hinnant
· 15 years ago
adff489
patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient.
by Howard Hinnant
· 15 years ago
f5256e1
Wiped out some non-ascii characters that snuck into the copyright.
by Howard Hinnant
· 15 years ago
bc8d3f9
libcxx initial import
by Howard Hinnant
· 15 years ago