Commit Graph

442 Commits

Author SHA1 Message Date
Ion Gaztañaga
ca6c464bec Introducing allocator_traits and pointer_traits changes into several libraries.
[SVN r76106]
2011-12-22 20:08:24 +00:00
Ion Gaztañaga
7697f6bb09 Merged for Boost 1.48
[SVN r74160]
2011-08-30 15:46:15 +00:00
Ion Gaztañaga
f2d6d2b45b Added SwitchToThread to sched_yield to improve a bit process hand-offs
[SVN r74110]
2011-08-28 18:30:28 +00:00
Ion Gaztañaga
e2a638985c * Erased containers now that Boost.Container is accepted
* Changed "detail" namespace to "ipcdetail" due to compilation errors in MSVC compilers and wrong ambiguous resolutions.
* Added locking timeout macro to avoid deadlocks

[SVN r74085]
2011-08-27 08:32:56 +00:00
Ion Gaztañaga
87ef6b76a0 * Erased containers now that Boost.Container is accepted
* Changed "detail" namespace to "ipcdetail" due to compilation errors in MSVC compilers and wrong ambiguous resolutions.
* Added locking timeout macro to avoid deadlocks

[SVN r74083]
2011-08-27 08:31:15 +00:00
Ion Gaztañaga
1df5125bf5 Merged missed changes for 1.47 release
[SVN r73279]
2011-07-21 17:42:58 +00:00
Ion Gaztañaga
b9218114a1 Fixed semaphore_unlink for XSI emulation and error when mapping fails
[SVN r72715]
2011-06-21 20:15:54 +00:00
Ion Gaztañaga
402edd49f4 Added static assert to assure allocator value type is the same as std::pair<Const key, value>
Cached DLL function addresses to speed up some operations

[SVN r71904]
2011-05-12 20:26:48 +00:00
Ion Gaztañaga
b077cdb77c Removed dynamic library loading to improve performance.
[SVN r71145]
2011-04-09 11:50:37 +00:00
Ion Gaztañaga
49a1281f43 Non-throwing make_managed_shared_ptr version.
[SVN r71139]
2011-04-09 08:45:37 +00:00
Ion Gaztañaga
9aaaa3062b Remove asm("") because non-GCC compilers define __GNUC__ and don't support it
[SVN r71138]
2011-04-09 08:33:45 +00:00
Ion Gaztañaga
5e0a1a52dc Remove asm("") because non-GCC compilers define __GNUC__ and don't support it
[SVN r71137]
2011-04-09 08:32:18 +00:00
Ion Gaztañaga
625c4ae6e1 Fixes for Boost 1.47
[SVN r70838]
2011-04-01 22:03:49 +00:00
Ion Gaztañaga
fee02c7ccf Disabled bootstamp in Windows. Neither kernel boottime or WMI methods are reliable. Windows shared memory/message ques have now filesystem persistence.
[SVN r70822]
2011-04-01 16:27:22 +00:00
Ion Gaztañaga
0f8ea13e1c Fixed #5197 using provided patch
[SVN r70744]
2011-03-30 09:51:19 +00:00
Ion Gaztañaga
c7543d7fb2 Fixes to use pointers as key_types plus updated pair to recent C++0x draft. Fixed some missing config_begin.hpp/config_end.hpp includes. Fixed comparison operators for stable_vector iterator.
[SVN r70660]
2011-03-28 08:53:14 +00:00
Ion Gaztañaga
283d21330b Changes to allow interoperability between 64 and 32 processes. Pointer type is a customization of all templated code size_type's and difference_type's.
[SVN r70066]
2011-03-17 16:32:35 +00:00
Bryce Adelstein-Lelbach
5575583fc7 Some of the inline asm here had incorrect constraints.
[SVN r68133]
2011-01-13 23:41:10 +00:00
Ion Gaztañaga
45756b761e Merge from trunk for 1.46
[SVN r68075]
2011-01-12 22:26:04 +00:00
Ion Gaztañaga
a86d42120e Added XSI shared memory
[SVN r67449]
2010-12-26 09:47:54 +00:00
Ion Gaztañaga
ebb85340c0 Fixes for vectostream and intermodule_singleton
[SVN r65925]
2010-10-12 18:18:42 +00:00
Ion Gaztañaga
378b8bef44 Workaround for shared memory and FreeBsd jails
[SVN r65861]
2010-10-09 16:31:36 +00:00
Ion Gaztañaga
5109222c7e Fixes for vectostream and intermodule_singleton
[SVN r65854]
2010-10-09 11:21:31 +00:00
Ion Gaztañaga
6b4bde1495 Fixes for Boost 1.45
[SVN r65041]
2010-08-26 21:48:45 +00:00
Ion Gaztañaga
374f16a5c0 Fixed tabs
[SVN r65007]
2010-08-26 07:10:11 +00:00
Ion Gaztañaga
21efc978fd More changes for Boost 1.45
[SVN r64985]
2010-08-24 17:26:36 +00:00
Ion Gaztañaga
dbcb35f1ad Changes for Boost 1.45
[SVN r64337]
2010-07-25 16:47:46 +00:00
Ion Gaztañaga
157aed14e6 Changes for Boost 1.45
[SVN r64336]
2010-07-25 16:47:05 +00:00
Ion Gaztañaga
3514370a71 Changes for Boost 1.45
[SVN r64335]
2010-07-25 16:45:54 +00:00
Ion Gaztañaga
7422f6584f Changes for Boost 1.45
[SVN r64334]
2010-07-25 16:44:45 +00:00
Ion Gaztañaga
5ee5c96022 Changes for Boost 1.45
[SVN r64333]
2010-07-25 16:39:26 +00:00
Ion Gaztañaga
9584fe328d Changes for Boost 1.45
[SVN r64332]
2010-07-25 16:27:15 +00:00
Hartmut Kaiser
13cc42b4bb Spirit: merging from trunk upto rev. 61489
[SVN r63640]
2010-07-04 22:38:38 +00:00
Douglas Gregor
ef1a4170d4 Merge standards-conformance fixes for Boost.Interprocess
[SVN r61871]
2010-05-09 02:12:20 +00:00
Douglas Gregor
c46d606b77 Standards-conformance fix for Boost.Interprocess: max_value needs to
be declared before it is used, since ADL won't look here.


[SVN r61667]
2010-04-29 00:54:26 +00:00
Douglas Gregor
502ebea876 Various standards-conformance fixes for Boost.Interprocess.
[SVN r61665]
2010-04-29 00:36:35 +00:00
Jeremiah Willcock
768284dc67 Fixed tab and no-newline-at-end-of-file issues from inspection report
[SVN r61435]
2010-04-20 17:54:16 +00:00
Ion Gaztañaga
a30f2f66bf Interprocess:
[@https://svn.boost.org/trac/boost/ticket/3439 #3439],
  [@https://svn.boost.org/trac/boost/ticket/3846 #3846],
  [@https://svn.boost.org/trac/boost/ticket/3947 #3947],
  [@https://svn.boost.org/trac/boost/ticket/3985 #3985].
Intrusive:
  [@https://svn.boost.org/trac/boost/ticket/3668 #3668],
  [@https://svn.boost.org/trac/boost/ticket/3339 #3688],
  [@https://svn.boost.org/trac/boost/ticket/3698 #3698],
  [@https://svn.boost.org/trac/boost/ticket/3706 #3706],
  [@https://svn.boost.org/trac/boost/ticket/3721 #3721].
  [@https://svn.boost.org/trac/boost/ticket/3729 #3729],
  [@https://svn.boost.org/trac/boost/ticket/3746 #3746],
  [@https://svn.boost.org/trac/boost/ticket/3781 #3781],
  [@https://svn.boost.org/trac/boost/ticket/3829 #3829],
  [@https://svn.boost.org/trac/boost/ticket/3840 #3840],
  [@https://svn.boost.org/trac/boost/ticket/3339 #3339],
  [@https://svn.boost.org/trac/boost/ticket/3419 #3419],
  [@https://svn.boost.org/trac/boost/ticket/3431 #3431],

[SVN r60514]
2010-03-12 13:18:29 +00:00
Ion Gaztañaga
91aac29df1 Interprocess:
[@https://svn.boost.org/trac/boost/ticket/3439 #3439],
  [@https://svn.boost.org/trac/boost/ticket/3846 #3846],
  [@https://svn.boost.org/trac/boost/ticket/3947 #3947],
  [@https://svn.boost.org/trac/boost/ticket/3985 #3985].
Intrusive:
  [@https://svn.boost.org/trac/boost/ticket/3668 #3668],
  [@https://svn.boost.org/trac/boost/ticket/3339 #3688],
  [@https://svn.boost.org/trac/boost/ticket/3698 #3698],
  [@https://svn.boost.org/trac/boost/ticket/3706 #3706],
  [@https://svn.boost.org/trac/boost/ticket/3721 #3721].
  [@https://svn.boost.org/trac/boost/ticket/3729 #3729],
  [@https://svn.boost.org/trac/boost/ticket/3746 #3746],
  [@https://svn.boost.org/trac/boost/ticket/3781 #3781],
  [@https://svn.boost.org/trac/boost/ticket/3829 #3829],
  [@https://svn.boost.org/trac/boost/ticket/3840 #3840],
  [@https://svn.boost.org/trac/boost/ticket/3339 #3339],
  [@https://svn.boost.org/trac/boost/ticket/3419 #3419],
  [@https://svn.boost.org/trac/boost/ticket/3431 #3431],

[SVN r60513]
2010-03-12 13:16:38 +00:00
Ion Gaztañaga
b8fb9d2187 Fixes for 1.41
[SVN r57019]
2009-10-20 16:00:13 +00:00
Ion Gaztañaga
89eb66a985 Fixes for 1.41
[SVN r57018]
2009-10-20 15:59:55 +00:00
Ion Gaztañaga
bfccd13f03 Fixes for 1.41
[SVN r56918]
2009-10-16 14:54:24 +00:00
Ion Gaztañaga
c9dbd7c114 Fixes for 1.41
[SVN r56917]
2009-10-16 14:54:07 +00:00
Ion Gaztañaga
e7e8a36fe1 Fixes for 1.41
[SVN r56877]
2009-10-15 18:46:26 +00:00
Ion Gaztañaga
ee730c7f06 Fixes for 1.41
[SVN r56824]
2009-10-14 13:26:21 +00:00
Ion Gaztañaga
1bdccad422 Fixes for 1.41
[SVN r56817]
2009-10-14 11:59:32 +00:00
Ion Gaztañaga
ae28b2aca6 FreeBSD 8 fixes
[SVN r55533]
2009-08-11 21:44:18 +00:00
Ion Gaztañaga
eed099db35 FreeBSD 8 fixes
[SVN r55531]
2009-08-11 17:37:36 +00:00
Ion Gaztañaga
1e792ddfd0 FreeBSD 8 fixes
[SVN r55530]
2009-08-11 17:14:39 +00:00
Ion Gaztañaga
dbe37262f3 Remove signed/unsigned warning
[SVN r55521]
2009-08-11 08:43:30 +00:00
Ion Gaztañaga
1559913aeb Remove signed/unsigned warning
[SVN r55520]
2009-08-11 08:42:59 +00:00
Ion Gaztañaga
5623f01220 lseek is undefined with shared memory descriptors, use fstat instead.
[SVN r55519]
2009-08-11 08:27:57 +00:00
Ion Gaztañaga
5aa3a84588 lseek is undefined with shared memory descriptors, use fstat instead.
[SVN r55518]
2009-08-11 08:25:56 +00:00
Ion Gaztañaga
aa5429067f Fixed deadlock problem
[SVN r55483]
2009-08-09 08:20:30 +00:00
Ion Gaztañaga
e374293232 Fixed deadlock problem
[SVN r55482]
2009-08-09 08:19:46 +00:00
Ion Gaztañaga
d49d3217ba Boost 1.40 merge from trunk
[SVN r55024]
2009-07-19 00:11:33 +00:00
Ion Gaztañaga
eacfedcabe QNX workaround
[SVN r55013]
2009-07-18 12:31:16 +00:00
Ion Gaztañaga
ce7421a3f6 Boost 1.40 changes
[SVN r54334]
2009-06-25 15:47:52 +00:00
Vladimir Prus
8f8c9ebeee Fix != vs. == mismatch.
The remove method is documented to return false on error and
true on success. The shm_unlink functions returns 0 on success.
Therefore, we should return "shm_unlink_result == 0".


[SVN r53382]
2009-05-29 08:39:44 +00:00
Ion Gaztañaga
d67f58b2fd Bugs #3090, #3101, #2992, #2973, #2967
[SVN r53362]
2009-05-28 20:44:12 +00:00
Jeremiah Willcock
943ffc0c6f More tab and min/max fixes
[SVN r53143]
2009-05-20 19:46:06 +00:00
Jeremiah Willcock
34bda01c69 Fixed almost all tab and min/max issues found by inspect tool
[SVN r53142]
2009-05-20 19:41:20 +00:00
Jeremiah Willcock
a3eeee5ace Fixed most tab and min/max issues from trunk inspection report
[SVN r53141]
2009-05-20 19:19:00 +00:00
Ion Gaztañaga
8460f20835 Fixed C++0x and MacOS X bugs
[SVN r52417]
2009-04-16 10:01:02 +00:00
Ion Gaztañaga
e9570883ac Fixed C++0x and MacOS X bugs
[SVN r52415]
2009-04-16 07:01:51 +00:00
Ion Gaztañaga
9461ec89cc Workarounds for VC8 and MacOS
[SVN r52388]
2009-04-14 16:17:07 +00:00
Ion Gaztañaga
dd9203f05b Changes for Boost.1.39
[SVN r52034]
2009-03-28 14:39:16 +00:00
Ion Gaztañaga
9117f958a4 Change static_cast with reinterpret_cast since in some compilers (Intel, and surely other EDG based ones) this kicks the conversion operator recursively and provokes an stack overflow.
[SVN r52007]
2009-03-27 08:49:56 +00:00
Ion Gaztañaga
4a9ce29e69 Changes for Boost.1.39
[SVN r51969]
2009-03-25 17:26:33 +00:00
Ion Gaztañaga
3d0fcd68e3 Changes for Boost.1.39
[SVN r51964]
2009-03-24 21:52:06 +00:00
Ion Gaztañaga
814c51a803 Ticket #2766: error in boost::interprocess::file_lock::swap
[SVN r51289]
2009-02-17 16:59:35 +00:00
Ion Gaztañaga
26dad28146 Fixed bug that releases memory before calling the destructor
[SVN r50996]
2009-02-03 18:12:02 +00:00
Ion Gaztañaga
7ef71f4527 Fixed deallocation before destructor.
[SVN r50903]
2009-01-30 15:23:42 +00:00
Ion Gaztañaga
b511d91348 Added configuration to properly detect FreeBSD options
[SVN r50372]
2008-12-23 14:18:15 +00:00
Ion Gaztañaga
80cd40be8a Fixed swap to be an inline function to avoid linking errors
[SVN r50337]
2008-12-21 00:31:16 +00:00
Ion Gaztañaga
1e4c941ea9 Fixed swap to be an inline function to avoid linking errors
[SVN r50336]
2008-12-21 00:31:08 +00:00
Ion Gaztañaga
85df55267f Merge from trunk for 1.38
[SVN r50332]
2008-12-20 19:50:13 +00:00
Ion Gaztañaga
5ecb62bbe0 Fixes wrong static_cast<> in return statement
[SVN r50327]
2008-12-19 18:58:26 +00:00
Ion Gaztañaga
3e4f6bceda Fixed static "PageSize" variable initialization for DLLs
[SVN r50273]
2008-12-14 21:43:59 +00:00
Ion Gaztañaga
c1a6867856 * Updated documentation to show rvalue-references funcions instead of emulation functions.
*  More non-copyable classes are now movable.
*  Move-constructor and assignments now leave moved object in default-constructed state
   instead of just swapping contents.
*  Several bugfixes (#2391, #2431, #1390, #2570, #2528).

[SVN r50257]
2008-12-13 13:43:10 +00:00
Ion Gaztañaga
1a85096c53 Ticket #2570 again
[SVN r50194]
2008-12-08 16:27:11 +00:00
Ion Gaztañaga
43b0545a8a ticket 2570: boost::interprocess::message_queue::timed_send and timed_receive bug
[SVN r50146]
2008-12-05 22:57:51 +00:00
Ion Gaztañaga
6ec4cd6987 Fixed bug with empty ranges.
[SVN r49872]
2008-11-22 11:07:35 +00:00
Ion Gaztañaga
2b9761a341 Fixed bug in optimized allocator insertion. Empty range insertion was not checked.
[SVN r49871]
2008-11-22 10:48:17 +00:00
Ion Gaztañaga
e1cd391001 Changes and fixes for Boost 1.37
[SVN r49322]
2008-10-13 19:36:50 +00:00
John Maddock
7eb343026f Merge fixes from Trunk.
Fixes #2392.

Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.

Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library. With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only. 

[SVN r49314]
2008-10-13 09:00:03 +00:00
Ion Gaztañaga
02d366387b Changes and fixes for Boost 1.37
[SVN r49276]
2008-10-11 13:14:49 +00:00
John Maddock
6a6b28ed38 Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library.  With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.

Fixes #2392.


[SVN r49254]
2008-10-10 16:10:00 +00:00
Ion Gaztañaga
ec9b099a8f Added FILE_SHARE_DELETE to CreateFile to allow unix-like behaviour when deleting shared memory
[SVN r47929]
2008-08-01 14:05:32 +00:00
Ion Gaztañaga
54e364b49b Merged trunk fixed to release branch for Boost 1.36
[SVN r47000]
2008-07-02 19:50:05 +00:00
Ion Gaztañaga
0f43d3613a Fixed bug for unix systems in file locking functions
[SVN r46922]
2008-06-30 16:56:05 +00:00
Ion Gaztañaga
2e27404b33 Some fixes for inspection report, Run Date: 15:00:47 UTC, Friday 27 June 2008
[SVN r46786]
2008-06-27 18:19:38 +00:00
Ion Gaztañaga
90fda8828f Merged from trunk for 1.36 release
[SVN r46630]
2008-06-23 18:20:30 +00:00
Ion Gaztañaga
db78134073 Fixes to avoid documentation warnings with Boostbook
[SVN r46615]
2008-06-22 17:43:15 +00:00
Ion Gaztañaga
4438851b1d Missing boost/static_assert.hpp include
[SVN r46601]
2008-06-22 08:16:41 +00:00
Ion Gaztañaga
2417404985 gcc 4.3 fixes for normal and -std=c++0x modes
[SVN r46581]
2008-06-21 17:20:02 +00:00
Ion Gaztañaga
b045c841f0 "this->purge_blocks()()" should be "this->purge_blocks()"
[SVN r46578]
2008-06-21 12:21:37 +00:00
Ion Gaztañaga
90400be104 gcc 4.3 fixes for normal and -std=c++0x modes
[SVN r46572]
2008-06-21 09:05:10 +00:00
Ion Gaztañaga
a9310b2c75 Solved 'external_unlock' was not declared in this scope for gcc
[SVN r46412]
2008-06-15 18:47:11 +00:00
Ion Gaztañaga
10f13ce7c7 Ticket #1960: detail/math_functions.hpp misses #include <climits>
[SVN r45872]
2008-05-28 16:08:31 +00:00
Ion Gaztañaga
26c92da8dc Ticket #1921: interprocess shared_memory example needs patch (provided)
[SVN r45816]
2008-05-27 17:05:22 +00:00
Ion Gaztañaga
00653b57fc Ticket #1951
[SVN r45814]
2008-05-27 16:39:25 +00:00
Ion Gaztañaga
62fedf648f #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45705]
2008-05-23 23:20:33 +00:00
Ion Gaztañaga
3e4b2e1a76 #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45704]
2008-05-23 23:17:56 +00:00
Ion Gaztañaga
044c20b477 #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45703]
2008-05-23 22:44:34 +00:00
Ion Gaztañaga
ffba3d772a #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45702]
2008-05-23 22:39:21 +00:00
Ion Gaztañaga
26139ae6a3 #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45701]
2008-05-23 22:37:10 +00:00
Ion Gaztañaga
2624000860 #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45700]
2008-05-23 22:36:29 +00:00
Ion Gaztañaga
3368fce1d9 #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45699]
2008-05-23 22:35:01 +00:00
Ion Gaztañaga
3a7c09de5c #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45698]
2008-05-23 22:34:43 +00:00
Ion Gaztañaga
efbc779259 #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45697]
2008-05-23 22:34:14 +00:00
Ion Gaztañaga
da38f57a8e #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45695]
2008-05-23 22:29:32 +00:00
Ion Gaztañaga
92a38675ba #1912: some copy edits on boost.intrusive
#1932: move semantics for shared objects
#1635: Incomplete include guard in boost/intrusive

[SVN r45694]
2008-05-23 22:25:35 +00:00
Daniel James
2ff7425fd9 Replace some non-ASCII characters in the interprocess library headers.
[SVN r45231]
2008-05-08 21:42:56 +00:00
Ion Gaztañaga
ba80ed3c10 Tickets #1883, #1862, #1709
[SVN r45019]
2008-05-02 11:07:08 +00:00
Ion Gaztañaga
3af7cdba54 Intrusive:
*  Added `linear<>` and `cache_last<>` options to singly linked lists.
*  Added `optimize_multikey<>` option to unordered container hooks.
*  Optimized unordered containers when `store_hash` option is used in the hook.
*  Implementation changed to be exception agnostic so that it can be used
   in environments without exceptions.
*  Added `container_from_iterator` function to tree-based containers.

Interprocess:

*  Added anonymous shared memory for UNIX systems.
*  Fixed file lock compilation errors

[SVN r44819]
2008-04-27 15:03:06 +00:00
Ion Gaztañaga
15990aea8c Intrusive:
*  Added `linear<>` and `cache_last<>` options to singly linked lists.
*  Added `optimize_multikey<>` option to unordered container hooks.
*  Optimized unordered containers when `store_hash` option is used in the hook.
*  Implementation changed to be exception agnostic so that it can be used
   in environments without exceptions.
*  Added `container_from_iterator` function to tree-based containers.

Interprocess:

*  Added anonymous shared memory for UNIX systems.
*  Fixed file lock compilation errors

[SVN r44818]
2008-04-27 14:57:11 +00:00
Marshall Clow
de62388dc7 Replaced all occurrences of non-ASCII copyright symbol with '(c)' for people using non-ASCII code pages
[SVN r43992]
2008-04-02 01:42:32 +00:00
Ion Gaztañaga
6e76ddbeb0 Merged Interprocess + Intrusive revision 42982 from trunk to release branch
[SVN r42994]
2008-01-27 22:22:22 +00:00
Ion Gaztañaga
ed5e79b6d3 1)Fixed gcc release mode warnings.
2)Replaced throw with BOOST_RETHROW when BOOST_TRY is used.
3)Fixed issues with singly linked lists


[SVN r42974]
2008-01-25 23:07:51 +00:00
Ion Gaztañaga
59fbc2d90a Refactor some allocation code and fix instantiation problem in 64 bit platforms
[SVN r42911]
2008-01-22 16:49:22 +00:00
Ion Gaztañaga
1a240759d3 Updated Interprocess and Intrusive:
-> Added linear slist to intrusive
-> Updated all allocators to version 2 allocators in Interprocess
-> Optimized rbtree_best_fit size overhead to 1 std:size_t.

[SVN r42878]
2008-01-20 11:54:47 +00:00
Ion Gaztañaga
dab43973e3 Added Leopard workaround. _POSIX_THREAD_PROCESS_SHARED is defined but does not seem to work. For the moment, Mac OS will use emulation code
[SVN r41704]
2007-12-04 22:05:28 +00:00
Ion Gaztañaga
9104031ec0 Simplified mutexes for systems with no _POSIX_TIMEOUTS.
[SVN r41540]
2007-12-01 18:01:15 +00:00
Beman Dawes
28bf848aaa Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41369]
2007-11-25 18:07:19 +00:00
Ion Gaztañaga
fec5f75606 Added workaround for systems without SEM_FAILED and semaphores based on filesystem
[SVN r41342]
2007-11-24 19:47:58 +00:00
Ion Gaztañaga
13c5edf469 Fixed offset_ptr issues with volatile values.
[SVN r41281]
2007-11-21 16:19:19 +00:00
Ion Gaztañaga
cca260bccd Fixed errors detected by gcc-4.3
[SVN r41234]
2007-11-19 16:55:23 +00:00
Ion Gaztañaga
dd3c5238df Interprocess changes to support systems with filesystem-based shared memory
[SVN r41194]
2007-11-18 10:41:57 +00:00
Markus Schöpflin
b7cd3bee58 Added memory barriers to Tru64 atomic ops.
[SVN r40967]
2007-11-09 14:25:44 +00:00
Ion Gaztañaga
89fecdd78b Initialized native handle to avoid warnings in Visual2005
[SVN r40842]
2007-11-06 16:56:48 +00:00
Ion Gaztañaga
c940662dbe Corrected _CRT_SECURE_NO_DEPRECATE detection
[SVN r40841]
2007-11-06 16:56:28 +00:00
Boris Gubenko
b7c9ad54d8 fix typo
[SVN r40638]
2007-11-01 11:47:20 +00:00
Ion Gaztañaga
36a73713fe Uncommented pointer conversion utilities
[SVN r40637]
2007-11-01 11:47:00 +00:00
Ion Gaztañaga
c33351ec00 Added missing include
[SVN r40480]
2007-10-26 14:24:58 +00:00
Ion Gaztañaga
fd7738cf57 Corrected error when checking file size against maximum address range for 64 bit platforms
[SVN r40461]
2007-10-25 15:53:19 +00:00
Ion Gaztañaga
149a338b10 Fixed Solaris and Linux bugs
[SVN r40453]
2007-10-25 06:33:50 +00:00
Ion Gaztañaga
29fb00e1fd Corrected operator >> bug
[SVN r40430]
2007-10-24 19:25:40 +00:00
Markus Schöpflin
f99cada43e Added missing include file.
[SVN r40408]
2007-10-24 11:17:05 +00:00
Markus Schöpflin
718f42bd76 Clarify lookup for destroy_n().
[SVN r40404]
2007-10-24 09:04:47 +00:00
Markus Schöpflin
e883dda350 Added missing include file.
[SVN r40399]
2007-10-24 08:21:15 +00:00
Ion Gaztañaga
94b96e04b2 Corrected error in create_from_istream
[SVN r40364]
2007-10-23 17:47:49 +00:00
Ion Gaztañaga
91fb3ad471 Temporary hack to avoid compilation errors in operator->()
[SVN r40363]
2007-10-23 17:46:36 +00:00
Ion Gaztañaga
9f17cbaf5e Doxygen bug workaround. Corrected Solaris errors. Experimental grow/shrink_to_fit for managed_shared_memory and managed_mapped_file.
[SVN r40267]
2007-10-21 09:01:16 +00:00
Ion Gaztañaga
5624c86b0e Solved Doxygen bug
[SVN r40265]
2007-10-21 08:49:42 +00:00
Markus Schöpflin
d08b2a08a9 Detailed OSF detection macro to include the compiler used.
[SVN r40178]
2007-10-19 09:06:04 +00:00
Ion Gaztañaga
9d737f1ba8 Added atomic operations for alpha processors
[SVN r40159]
2007-10-18 16:20:28 +00:00
Ion Gaztañaga
3425aa2142 Corrected bug in atomic_dec32 for PPC
[SVN r39957]
2007-10-12 08:58:04 +00:00
Ion Gaztañaga
db1dba818e Changes introduced by the new intrusive version.
[SVN r39546]
2007-09-26 15:11:38 +00:00
Ion Gaztañaga
84b489c719 Changes introduced by the new intrusive version.
[SVN r39545]
2007-09-26 15:07:29 +00:00
Ion Gaztañaga
8fdfbaac28 Glenn Schrader patch: Segmentation fault with 1.34+ on Linux x86_64.
Reason: The ~ only complemented the 32 bit unsigned value. When the value was expanded into a size_t the value isn't sign extended so the upper 32 bits wind up being zero. Since this is used as an address mask the upper half of the address is zeroed.

[SVN r39464]
2007-09-21 20:45:14 +00:00
Ion Gaztañaga
ed065cd3df #1211: Interprocess tests hang when run in parallel
#1080 boost::interprocess win32 global file mapping issue 

[SVN r38955]
2007-08-25 19:19:34 +00:00
Ion Gaztañaga
f11059212f #1211: Interprocess tests hang when run in parallel
#1080 boost::interprocess win32 global file mapping issue 

[SVN r38954]
2007-08-25 19:18:28 +00:00
Ion Gaztañaga
e458f303fe #1211: Interprocess tests hang when run in parallel
#1080 boost::interprocess win32 global file mapping issue 

[SVN r38953]
2007-08-25 19:17:24 +00:00
Ion Gaztañaga
73b162a2f1 #1211: Interprocess tests hang when run in parallel
#1080 boost::interprocess win32 global file mapping issue 

[SVN r38952]
2007-08-25 19:13:02 +00:00
Ion Gaztañaga
bfe5d57ef2 #1211: Interprocess tests hang when run in parallel
#1080 boost::interprocess win32 global file mapping issue 

[SVN r38946]
2007-08-25 18:04:13 +00:00
Ion Gaztañaga
8fa662ef90 Erased old archives imported from CVS
[SVN r38911]
2007-08-24 21:24:23 +00:00
Ion Gaztañaga
09df0f8e09 Corrected incorrect iterator definition
[SVN r38669]
2007-08-15 00:18:10 +00:00
Ion Gaztañaga
5ded803f8c Erasing wrongly imported old CVS file
[SVN r38509]
2007-08-08 17:33:45 +00:00
Ion Gaztañaga
46e99694a0 Wrapped (const_)iterator definition with /// @cond and /// @endcond to avoid problems with Doxygen 1.5
[SVN r38283]
2007-07-24 16:30:37 +00:00
Ion Gaztañaga
2181dc14fc no message
[SVN r38280]
2007-07-24 14:27:54 +00:00
Ion Gaztañaga
2c2657a933 New Interprocess version
[SVN r38271]
2007-07-22 14:08:34 +00:00
Ion Gaztañaga
1da65050f4 Fixed bug when address mapping could not be fulfilled in UNIX
[SVN r38253]
2007-07-16 18:44:55 +00:00
Ion Gaztañaga
30bb2de8df Fixed bug in cleanup when mapping address is not exactly matched. Reported by Wilbur Lang
[SVN r38210]
2007-07-13 19:42:19 +00:00
Ion Gaztañaga
6c7abfd7f2 no message
[SVN r38075]
2007-06-23 13:01:38 +00:00
Ion Gaztañaga
a678891c93 no message
[SVN r37976]
2007-06-12 17:13:44 +00:00
Ion Gaztañaga
5898cc181d Corrected gcc bug in release mode
[SVN r37748]
2007-05-23 15:47:54 +00:00
Ion Gaztañaga
3d12c780a4 Changes to correct regression tests for intel-win-9.1 & cw-9.4
[SVN r37676]
2007-05-12 12:54:15 +00:00
Ion Gaztañaga
e3a4e80eb0 Changes for official inclusion in the regression tests
[SVN r37590]
2007-05-04 21:10:05 +00:00
Ion Gaztañaga
f439c19266 Changes for official inclusion in the regression tests
[SVN r37589]
2007-05-04 20:53:10 +00:00
Ion Gaztañaga
b15f58acb3 Correction of bugs when converting pointers to derived classes to base classes, offset correction was not performed.
[SVN r37505]
2007-04-25 15:32:29 +00:00
Ion Gaztañaga
fc4c970180 Fixed race condition if a shared memory segment is being created/initialized for the first time. Thanks to Paul Poulin.
[SVN r37437]
2007-04-14 10:34:33 +00:00
Ion Gaztañaga
4503ec5e24 PPC fixes
[SVN r37424]
2007-04-12 17:01:54 +00:00
Ion Gaztañaga
03cbd08651 Fixed bug in the mapping call, the mapping address was not used.
[SVN r37273]
2007-03-23 16:05:01 +00:00
Ion Gaztañaga
f25ee3ae59 Fixed bug in atomic_dec32 for intel. Thanks to Harold Pirtle!
[SVN r36983]
2007-02-17 11:39:41 +00:00
Ion Gaztañaga
e298f20dce Workaround for VC 8 inliner bug.
[SVN r36872]
2007-02-02 21:04:45 +00:00
Ion Gaztañaga
2fd371dafb Fixed: clear() and erase(iterator, iterator) were declared private.
[SVN r36821]
2007-01-28 09:13:21 +00:00
Ion Gaztañaga
924a5ab726 Corrected bug from SGI STL.
[SVN r36786]
2007-01-25 17:19:54 +00:00
Ion Gaztañaga
9a4d81124f Corrected atomic decrement bug. Thanks to Glenn Schrader.
[SVN r36441]
2006-12-17 01:22:52 +00:00
Ion Gaztañaga
41f121bd69 Corrected bug that ignores the destructor y list nodes
[SVN r36236]
2006-12-02 00:00:50 +00:00
Ion Gaztañaga
1dafd986ed Corrected bug in assignment operator
[SVN r35646]
2006-10-17 05:09:40 +00:00
Ion Gaztañaga
9a73e2c25e Corrected configuration problem. Unix boxes were using emulation code instead of native shm_xxx functions
[SVN r35631]
2006-10-16 16:35:00 +00:00
Ion Gaztañaga
7715ac0c45 Removed unused files
[SVN r35626]
2006-10-16 05:08:33 +00:00
Ion Gaztañaga
61b7be3c68 Removed extra comma
[SVN r35625]
2006-10-16 04:53:59 +00:00
Ion Gaztañaga
054ff74524 Implemented N1780 proposal to LWG issue 233: Insertion hints in associative containers in interprocess boost::interprocess::multiset and boost::interprocess::multimap class.
Source breaking: A shared memory object is now used including shared_memory_object.hpp header instead of shared memory.hpp.
ABI breaking: Changed global mutex when initializing managed shared memory and memory mapped files. This change tries to minimize deadlocks.
Source breaking: Changed shared memory, memory mapped files and mapped region's open mode to a single boost::interprocess::mode_t type.
Added extra WIN32_LEAN_AND_MEAN before including DateTime headers to avoid socket redefinition errors when using Interprocess and Asio in windows.
ABI breaking: mapped_region constructor no longer requires classes derived from memory_mappable, but classes the fulfill the MemoryMappable concept.
Added in-place reallocation capabilities to basic_string.
ABI breaking: Reimplemented and optimized small string optimization. The narrow string class has zero byte overhead with an internal 11 byte buffer in 32 systems!
Added move semantics to containers. Experimental and not documented yet. Improves performance when using containers of containers.
ABI breaking: End nodes of node containers (list, slist, map/set) are now embedded in the containers instead of allocated using the allocator. This allows no-throw move-constructors and improves performance.
ABI breaking: slist and list containers now have constant-time size() function. The size of the container is added as a member.


[SVN r35617]
2006-10-15 13:14:54 +00:00
Ion Gaztañaga
d1a80b5ff3 Removed declarations comflicting with windows.h header
[SVN r35506]
2006-10-07 08:05:42 +00:00
Ion Gaztañaga
f5d47cff17 First inclusion in repository
[SVN r34901]
2006-08-18 13:14:03 +00:00
Ion Gaztañaga
5573eac65f Added inline to functions to avoid linker errors
[SVN r34838]
2006-08-07 14:08:45 +00:00
Ion Gaztañaga
3ca0cc0027 no message
[SVN r34837]
2006-08-07 14:01:54 +00:00
Ion Gaztañaga
c9c6e48a59 no message
[SVN r34836]
2006-08-07 13:52:22 +00:00
Gennaro Prota
3b82266f80 boost guidelines (mainly from inspect tool: tabs, license reference text, etc.)
[SVN r34752]
2006-07-27 10:27:37 +00:00
Ion Gaztañaga
ae47bde018 no message
[SVN r34285]
2006-06-12 17:23:18 +00:00