Commit Graph

121 Commits

Author SHA1 Message Date
Ion Gaztañaga
06eef6f4e8 intermodule_singleton fixes for many platforms:
- Use Boost.Container to allow debug-release mixed code (in some platforms, std:: containers' ABI changes from Debug to Release)

- By default non-Phoenix and Lazy singletons.

- Use atexit instead of the global object destructor to obtain LIFO semantics.

- Avoid testing Phoenix singletons, as in many plataforms calling atexit from atexit is not supported.
2014-07-14 23:34:17 +02:00
Ion Gaztañaga
e9659e563b Workaround for error in Intel compilers, avoid the static array 2014-07-14 23:31:16 +02:00
Ion Gaztañaga
acd03c0fa3 Add -lrt in Jamfiles to linux platforms 2014-07-14 23:30:33 +02:00
Ion Gaztañaga
de72bbf2d8 Fixed vector_test and cleaned up intermodule singleton code. 2014-07-10 21:38:52 +02:00
Ion Gaztañaga
2b4788e183 Fixed mimatched new[]/delete when using auto_ptr. 2014-06-16 00:38:28 +02:00
Ion Gaztañaga
1eb0000ac9 Fixed unused variable and redeclaration warnings. 2014-06-06 14:06:53 +02:00
Ion Gaztañaga
8895c8a44e Removed some unused typedef/variable warnings 2014-06-06 08:49:53 +02:00
Ion Gaztañaga
aa09229e8a Fixes #10011 segment_manager::find( unique_instance_t* ) fails to compile 2014-06-02 14:40:19 +02:00
Ion Gaztañaga
81a5fcf56d Removed trailing whitespaces. 2014-05-28 15:48:09 +02:00
Ion Gaztañaga
de405e89a3 * If BOOST_USE_WINDOWS_H is defined, <windows.h> and other windows SDK files are included,
otherwise the library declares needed functions and structures to reduce the impact of including
those heavy headers.

*  Added `get_size` to windows_shared_memory.
2014-05-28 15:30:04 +02:00
Ion Gaztañaga
02a7e7ecf2 More interprocess_exception fixes & #ifdef rephrasings 2014-05-25 20:50:39 +02:00
Ion Gaztañaga
5f81d0dc14 Fixes #9861 "Remove references to gcc-mingw" 2014-04-16 12:13:59 +02:00
Ion Gaztañaga
0526a090be Fixed previous git reset error. 2014-02-14 23:20:54 +01:00
Ion Gaztañaga
a0ea486cf6 Merge branch 'develop' 2014-02-14 20:03:03 +01:00
Ion Gaztañaga
467ba673d3 Simplified, refactored and unified (timed_)lock code based on try_lock(). There were several bugs in when handling timeout expirations.
[SVN r86511]
2013-10-29 07:39:21 +00:00
Ion Gaztañaga
a4ce866747 Fixes #9221 ("message_queue deadlock on linux")
[SVN r86316]
2013-10-15 08:02:09 +00:00
Stephen Kelly
d3794a5d38 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Ion Gaztañaga
aa6dd59f3b Last merge for 1.55 (Interprocess)
[SVN r85705]
2013-09-16 17:01:45 +00:00
Ion Gaztañaga
868981c178 Remove boost/thread dependency in tests.
[SVN r85688]
2013-09-15 19:50:54 +00:00
Ion Gaztañaga
762aaea036 Merging latest spin_wait improvements + unused typedef removal.
[SVN r85653]
2013-09-11 21:02:47 +00:00
Ion Gaztañaga
fcb3901d94 Removed unused typedefs
[SVN r85652]
2013-09-11 20:59:09 +00:00
Ion Gaztañaga
e559ac3275 Merged Interprocess to the release branch
[SVN r85615]
2013-09-08 20:07:03 +00:00
Ion Gaztañaga
e585dc3b64 Fixes #7156
[SVN r85555]
2013-09-03 22:03:10 +00:00
Ion Gaztañaga
da01f2f69c Added a new spin-wait method. Spins + yields for a system tick and then sleeps a tick.
[SVN r85505]
2013-08-28 21:33:26 +00:00
Ion Gaztañaga
c99f2ccc48 Merged revision(s) 84426-85443 from trunk/boost/interprocess. Merged revision(s) 84426-85443 from trunk/libs/interprocess. First Interprocess merge for 1.55
[SVN r85444]
2013-08-24 10:52:47 +00:00
Ion Gaztañaga
856d0d3f41 Fixes #9008
[SVN r85401]
2013-08-20 08:47:17 +00:00
Ion Gaztañaga
0d1d939719 Fixes #7795 + Jamfile link flags fix for mingw64 clang + updated changelist.
[SVN r82250]
2012-12-28 23:12:08 +00:00
Ion Gaztañaga
e4aa0ad399 Jamfile link flags fix for mingw64 clang & updated changelist.
[SVN r82246]
2012-12-28 22:42:38 +00:00
Ion Gaztañaga
74d2079b54 Merged interprocess from trunk
[SVN r81664]
2012-12-01 23:08:28 +00:00
Ion Gaztañaga
9c175fa83f * Fixed GCC -Wshadow warnings.
*  Experimental multiple allocation interface improved and changed again. Still unstable.
*  Replaced deprecated BOOST_NO_XXXX with newer BOOST_NO_CXX11_XXX macros.
*  [*ABI breaking]: changed node pool allocators internals for improved efficiency.

[SVN r81521]
2012-11-24 21:14:02 +00:00
Ion Gaztañaga
ac41d855bb Merge from trunk
[SVN r80689]
2012-09-24 12:17:34 +00:00
Ion Gaztañaga
5b1ad64bf9 Fixed forwarding error in Visual 2010
[SVN r80521]
2012-09-13 22:06:16 +00:00
Ion Gaztañaga
00066b5506 Removed unused variables warnings + fixed comparison problems in test
[SVN r80405]
2012-09-05 09:29:56 +00:00
Ion Gaztañaga
dae496524c [named_/interprocess]sharable_mutex & [named_/interprocess]condition_any implemented
[SVN r80147]
2012-08-22 21:03:28 +00:00
Ion Gaztañaga
b68e12a681 Updated copyright end year
[SVN r80138]
2012-08-22 11:26:55 +00:00
Ion Gaztañaga
6a72c035ec Updated copyright end year
[SVN r80133]
2012-08-22 04:54:41 +00:00
Ion Gaztañaga
15c18ef04e Modified test to support changeset 79964
[SVN r79965]
2012-08-11 12:47:30 +00:00
Ion Gaztañaga
8ca8e9a2ab Reimplemented message_queue with a circular buffer index
[SVN r79898]
2012-08-07 09:13:23 +00:00
Ion Gaztañaga
9236acf4e8 Modified test for shrink_by and advise functions in mapped_region.
[SVN r79896]
2012-08-07 09:08:30 +00:00
Ion Gaztañaga
dc9c8daeef Merged from trunk
[SVN r79561]
2012-07-16 09:08:27 +00:00
Ion Gaztañaga
6b8a3a3e73 Support Boost.Thread breaking change (TIME_UTC -> TIME_UTC_)
[SVN r79553]
2012-07-16 08:12:29 +00:00
Ion Gaztañaga
41e6d09338 Intermodule singleton optimization for windows
[SVN r79515]
2012-07-14 21:55:37 +00:00
Ion Gaztañaga
eea3c18185 Mapped region synchronous flush & size optimization
[SVN r79513]
2012-07-14 21:50:37 +00:00
Jürgen Hunold
1ca42f6952 Merge 78972 from ^/trunk
------------------------------------------------------------------------
  r78972 | jhunold | 2012-06-16 14:05:44 +0200 (Sa, 16 Jun 2012) | 3 lines
  
  Fix regressions introduced in r78802.
  
  Reference #6940. Rename TIME_UTC to TIME_UTC_
  ------------------------------------------------------------------------


[SVN r79015]
2012-06-20 06:50:46 +00:00
Jürgen Hunold
01ce00dc8d Fix regressions introduced in r78802.
Reference #6940. Rename TIME_UTC to TIME_UTC_

[SVN r78972]
2012-06-16 12:05:44 +00:00
Ion Gaztañaga
a7d5cc0848 Merge interprocess from trunk
[SVN r78594]
2012-05-24 17:13:27 +00:00
Ion Gaztañaga
ded788bdf8 Trailing spaces and Phoenix singleton for intermodule_singleton
[SVN r78515]
2012-05-20 09:47:08 +00:00
Ion Gaztañaga
14401bcb38 Error correction for Visual and Clang
[SVN r77909]
2012-04-11 06:25:04 +00:00
Ion Gaztañaga
82c9b236c7 Replaced pointer_to_other with pointer_traits
[SVN r76222]
2011-12-30 09:00:51 +00:00
Ion Gaztañaga
4e1ef9d53c Fixed named condition and unnecessary includes
[SVN r76170]
2011-12-26 11:10:22 +00:00