Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
792fc92be26e9870ea939caedf574a120bc8e67f
/
libcxx
/
src
/
memory.cpp
61a241e
Fix incorrect usage of __libcpp_mutex_trylock. Patch from Andrey Khalyavin
by Eric Fiselier
· 9 years ago
9c973b9
Use nullptr instead of the literal 0
by Eric Fiselier
· 9 years ago
11f6045
Add ABI option to remove recently inlined __shared_count functions from the library.
by Eric Fiselier
· 9 years ago
f08de52
[Test patch] Inline hot functions in libcxx shared_ptr
by Kevin Hu
· 9 years ago
528600c
Fix std::pointer_safety type in ABI v2
by Eric Fiselier
· 9 years ago
ea117bf
Mark libc++ internal globals with _LIBCPP_SAFE_STATIC.
by Eric Fiselier
· 9 years ago
8ddd3ef
Fixing 'Aquire' typo and libcxx build.
by Ben Craig
· 9 years ago
ac9eec8
Improve shared_ptr dtor performance
by Ben Craig
· 9 years ago
df93bad
Enable building and using atomic shared_ptr for GCC.
by Eric Fiselier
· 9 years ago
c7e4239
Refactor pthread usage of libcxx.
by Asiri Rathnayake
· 10 years ago
749adeb
[libcxx] Allow use of <atomic> in C++03. Try 3.
by Eric Fiselier
· 10 years ago
e8fd164
Move atomic_support.h and config_elast.h into src/include
by Eric Fiselier
· 10 years ago
1faf289
[libcxx] Add atomic_support.h header to src that handles needed atomic operations.
by Eric Fiselier
· 10 years ago
7a68749
Fix building and running tests when LIBCXX_ENABLE_EXCEPTIONS or LIBCXX_ENABLE_RTTI are turned off.
by Eric Fiselier
· 11 years ago
afe6794
Address some post-commit review comments on r217261
by Jonathan Roelofs
· 11 years ago
b3fcc67
Allow libc++ to be built on systems without POSIX threads
by Jonathan Roelofs
· 11 years ago
634b9dd
Switch to using C++ style casts.
by Joerg Sonnenberger
· 12 years ago
5efca64
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
· 13 years ago
54d333a
Rename uses of _ and __ because these are getting stepped on by macros from other system code.
by Howard Hinnant
· 13 years ago
e4b2a74
Patch contributed by Dev Dude for mingw64 port.
by Howard Hinnant
· 13 years ago
088e37c
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
d77851e
Implement [util.smartptr.shared.atomic]. This is the last unimplemented
by Howard Hinnant
· 13 years ago
c0937e8
Appy constexpr to <memory>. Picked up a few missing noexcepts as well.
by Howard Hinnant
· 13 years ago
45146a1
Fix memory leak in converting weak_ptr to shared_ptr
by Howard Hinnant
· 14 years ago
c206366
Quash a whole bunch of warnings
by Howard Hinnant
· 14 years ago
3739fe7
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
· 15 years ago
412dbeb
license change
by Howard Hinnant
· 15 years ago
9b35c82
Dave Zarzycki showed how the efficiency of shared_ptr could be significantly
by Howard Hinnant
· 15 years ago
940e211
Fixing whitespace problems
by Howard Hinnant
· 15 years ago
54b409f
now works with -fno-exceptions and -fno-rtti
by Howard Hinnant
· 15 years ago
128ba71
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
· 16 years ago
5b08a8a
Wiped out some non-ascii characters that snuck into the copyright.
by Howard Hinnant
· 16 years ago
3e51952
libcxx initial import
by Howard Hinnant
· 16 years ago