Peter Dimov
f5402a937e
Fix the _WIN32_WCE >= 0x600 case.
...
[SVN r80935]
2014-02-12 16:41:21 +02:00
Jürgen Hunold
fe04bea979
Fix: intrin.h is available in msvc-9.0 (_MSC_VER 1500)
...
[SVN r80626]
2014-02-12 16:41:21 +02:00
Vicente J. Botet Escriba
8fbb5e9e7f
Thread: Try again to fix 5431
...
[SVN r80127]
2014-02-12 16:41:20 +02:00
Vicente J. Botet Escriba
0401afc106
Thread: Rollback last modification as it breaks regression test VeecoFTC/msvc-9.0~wm5~stlport5.2
...
[SVN r80067]
2014-02-12 16:41:20 +02:00
Vicente J. Botet Escriba
b69ca7aaa5
Thread: Try to fix 5431
...
[SVN r80042]
2014-02-12 16:41:19 +02:00
Peter Dimov
dffbf7c931
Use <intrin.h> for VS2010+. Refs #4678 .
...
[SVN r75396]
2014-02-12 16:41:19 +02:00
Anthony Williams
5dabdf635c
Applied patch from issue #4849
...
[SVN r70383]
2014-02-12 16:41:19 +02:00
Anthony Williams
3dbde36076
Applied patch from issue #3377
...
[SVN r62509]
2014-02-12 16:41:18 +02:00
Peter Dimov
97a9aac5f0
Fix interlocked.hpp to compile under /clr:pure. Refs #3378 .
...
[SVN r57958]
2014-02-12 16:41:17 +02:00
Peter Dimov
bd5b684fd3
Move smart_ptr into boost/smart_ptr/*.hpp (refs #2239 ).
...
[SVN r51509]
2014-02-12 16:41:17 +02:00
Peter Dimov
6ede4ec4c6
Factored out boost/detail/lightweight_thread.hpp.
...
[SVN r44638]
2014-02-12 16:41:16 +02:00
Peter Dimov
aab1328e06
spinlock_nt.hpp added, Cygwin fixes.
...
[SVN r44055]
2014-02-12 16:41:16 +02:00
Anthony Williams
451c71c1bd
Added changes from David Deakins to enable compilation on Windows CE
...
[SVN r40679]
2014-02-12 16:41:16 +02:00
Peter Dimov
6341b8802a
Windows CE patch by Michael Fink
...
[SVN r33986]
2014-02-12 16:41:15 +02:00
Anthony Williams
e274885fd2
Win32 implementation of boost::timed_mutex
...
[SVN r33272]
2014-02-12 16:41:15 +02:00
Peter Dimov
82fe5f5095
Fixed a couple of syntax errors (reported by Juergen Hunold)
...
[SVN r31946]
2014-02-12 16:41:14 +02:00
Peter Dimov
8c50214e3f
Fixed bug #1370716 , static shared_ptr instances not working w/ quick_allocator
...
[SVN r31931]
2014-02-12 16:41:14 +02:00
Anthony Williams
21198d07fd
Moved BOOST_INTERLOCKED_READ stuff into its own header
...
[SVN r31098]
2014-02-12 16:41:14 +02:00
Anthony Williams
b4c8cf3958
Removed :: qualification on _Interlocked functions
...
[SVN r31097]
2014-02-12 16:41:13 +02:00
Anthony Williams
77aeaee7a7
Added BOOST_INTERLOCKED_EXCHANGE_POINTER in all branches of the #if
...
[SVN r31012]
2014-02-12 16:41:13 +02:00
Anthony Williams
677a0777d2
Added InterlockedExchangePointer
...
[SVN r31010]
2014-02-12 16:41:12 +02:00
Anthony Williams
7c7250379b
InterlockedCompareExchangePointer is only intrinsic on 64 bit platforms, otherwise it's just a synonym for InterlockedCompareExchange
...
[SVN r30951]
2014-02-12 16:41:12 +02:00
Anthony Williams
142eb95986
Added interlocked compare/exchange for pointers, and interlocked_read for values and pointers
...
[SVN r30941]
2014-02-12 16:41:11 +02:00
Anthony Williams
d9f24f882e
New version of call_once for win32
...
[SVN r30847]
2014-02-12 16:41:11 +02:00
Peter Dimov
0fd3947e19
<intrin.h> appears broken.
...
[SVN r27737]
2014-02-12 16:41:10 +02:00
Peter Dimov
43bc30e576
Split sp_counted_base into no threads (nt), win32 lock-free (w32) and pthreads (pt)
...
[SVN r27729]
2014-02-12 16:41:10 +02:00
Douglas Gregor
e0ec2a0aaa
Converted to Boost Software License, Version 1.0
...
[SVN r24055]
2014-02-12 16:41:10 +02:00
Peter Dimov
5320981cbb
_MSC_VER use clarified.
...
[SVN r20992]
2014-02-12 16:41:09 +02:00
Peter Dimov
d676bac36a
-Wundef fixes.
...
[SVN r18788]
2014-02-12 16:41:09 +02:00
Peter Dimov
ec1c6ed414
Fixes for Comeau with Borland as backend.
...
[SVN r17588]
2014-02-12 16:41:08 +02:00
Peter Dimov
ce36b11fd5
Made the default page size 512 (g++ 2.96 on Red Hat 7.2 dislikes 496.)
...
[SVN r17272]
2014-02-12 16:41:08 +02:00
Peter Dimov
eee70bdcab
Added BOOST_QA_PAGE_SIZE.
...
[SVN r17270]
2014-02-12 16:41:07 +02:00
Peter Dimov
97eed20d9b
Quick_allocator updates.
...
[SVN r17267]
2014-02-12 16:41:07 +02:00
Peter Dimov
6b6b63ef37
Dave's quick_allocator added, #define BOOST_SP_USE_QUICK_ALLOCATOR to make shared_ptr use it.
...
[SVN r17087]
2014-02-12 16:41:07 +02:00
Glen Fernandes
7ce5b6b2a9
Fix use of ms_init in no C++11 allocator case
2014-02-11 08:39:52 -08:00
Glen Fernandes
7e3ae44bc2
Fix use of size in make_shared for arrays
2014-02-10 21:09:13 -08:00
Glen Fernandes
57dc400fbf
Cosmetic changes in make_shared and make_unique
2014-02-10 21:04:41 -08:00
Glen Fernandes
5f485c2952
Spatial optimization for make_shared for arrays
...
Saves up to sizeof(void*) + sizeof(size_t) bytes for make_shared and saves
sizeof(void*) + sizeof(size_t) + sizeof(A) bytes for allocate_shared where A is the
supplied allocator type.
2014-02-10 20:54:48 -08:00
Peter Dimov
260af64027
Merge branch 'develop'
2014-02-11 01:29:29 +02:00
Peter Dimov
f837c7f56c
Revert "Merge from branch 'develop' into 'master'"
...
This reverts commit 83b3b703e0 .
2014-02-11 01:29:02 +02:00
Glen Fernandes
54fb49a5be
Use typedef A1 (warnings about unused typedefs)
2014-02-09 11:27:22 -08:00
Glen Fernandes
c23bd41c44
Refactor make_shared for arrays
...
Refactor implementation to later simplify making an optimization [for the C++11
allocator case] for when sp_counted_impl_pda destruction invokes the
allocator's destroy function instead of the type's destructor.
2014-02-07 08:03:47 -08:00
Peter Dimov
a64cc5c41c
Use allocator)traits<>::destroy in sp_counted_impl_pda::destroy
2014-02-07 17:37:00 +02:00
Glen Fernandes
e1f170cd49
Drop variadic templates in unit test for VC11
2014-02-06 17:09:27 -08:00
Glen Fernandes
52a5c422a1
Correct typo in shared_array documentation
2014-02-06 01:40:46 -08:00
Glen Fernandes
d46e3c7cbd
Simplify/tidy array_allocator and array_deleter
2014-02-06 01:38:58 -08:00
Glen Fernandes
5008957bd0
Remove type2 tests in a_s_construct_test
2014-02-05 09:10:45 -08:00
Glen Fernandes
6d73b4aa54
Work around VC11 which has broken rebind_traits
...
VC11 has only partial support for C++11 allocators. For example it has a
non-conforming rebind_alloc and rebind_traits in std::allocator_traits
because it does not support C++11 template aliases.
2014-02-04 23:56:34 -08:00
Glen Fernandes
540149f019
Tidy documentation in smart_ptr
2014-02-04 22:45:58 -08:00
Peter Dimov
9f5822f427
Add support and test for C++11 construct/destroy in allocate_shared
2014-02-05 02:31:33 +02:00