1166 Commits

Author SHA1 Message Date
Adrien Destugues
8fb11b021b haiku: we don't have XSI shared memory, so don't try to use it.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-11-16 13:43:52 +13:00
Ion Gaztañaga
060efcfffb Put the forward declaration of _ReadWriteBarrier before the intrinsic pragma to avoid errors in some MSVC versions boost-1.57.0 2014-10-18 17:58:22 +02:00
Ion Gaztañaga
ddb2bf50c0 Add Mingw support, as _ReadWriteBarrier is a MSVC intrinsic. 2014-10-18 17:42:29 +02:00
Ion Gaztañaga
ac06eb010a Removed GCC warnings about unused parameters 2014-10-13 23:33:30 +02:00
Ion Gaztañaga
7d9f58ca99 Added missing #pragma once 2014-10-13 23:26:57 +02:00
Ion Gaztañaga
0807a56308 Fixes Trac #10451: missing word in docs 2014-10-04 17:06:35 +02:00
Ion Gaztañaga
2c4f35f282 Fixes Trac #10506 2014-10-04 11:42:22 +02:00
Ion Gaztañaga
16c339540c Merge branch 'MarcelRaad-patch-1' into develop 2014-10-04 11:28:08 +02:00
Marcel Raad
cc1aebc7ac Compile fix for BOOST_USE_WINDOWS_H
If BOOST_USE_WINDOWS_H is defined, the call to get_system_info has to be qualified with an explicit namespace.
2014-09-26 11:15:42 +02:00
Ion Gaztañaga
6334b255ac Updated changelog with bug #9262 from Trac 2014-09-22 00:19:10 +02:00
Ion Gaztañaga
e1b438f64f Added explanations about template parameters in offset_ptr 2014-09-22 00:18:19 +02:00
Ion Gaztañaga
69ad21ad02 Made deallocation function more readable and removed dead code 2014-09-14 23:50:27 +02:00
Ion Gaztañaga
d0d3d7211f Added extra size check for BOOST_ASSERT when previous block is free 2014-09-10 23:20:52 +02:00
Ion Gaztañaga
19e6101b9e Specified template parameter in get_rounded_size to avoid compilation errors in some compilers. 2014-08-31 21:40:36 +02:00
Ion Gaztañaga
2a1afee903 Merge branch 'MarcelRaad-patch-1' into develop 2014-08-31 21:39:15 +02:00
Ion Gaztañaga
4986d95b8e Merge branch 'patch-1' of https://github.com/MarcelRaad/interprocess into MarcelRaad-patch-1 2014-08-31 21:38:42 +02:00
Ion Gaztañaga
0420041e8d Removed unique_ptr and forwarded boost::interprocess::unique_ptr to boost::movelib::unique_ptr 2014-08-27 23:52:12 +02:00
Marcel Raad
32be68c9a2 Compile fix for BOOST_USE_WINDOWS_H
With BOOST_USE_WINDOWS_H defined, get_process_times must be explicitly prefixed with the winapi namespace because ADL cannot deduce it.
2014-08-25 17:04:34 +02:00
Daniel James
5754254947 Add metadata file. 2014-08-18 14:59:55 +01:00
Ion Gaztañaga
5a976aa521 Use ___sync_synchronize instead of ___atomic as the later is only available in latest builds. 2014-08-14 01:01:01 +02:00
Ion Gaztañaga
81c7dece59 Merge branch 'DonOregano-master' into develop 2014-08-14 00:34:41 +02:00
Ion Gaztañaga
e8c4994b45 Merge branch 'master' of https://github.com/DonOregano/interprocess into DonOregano-master 2014-08-14 00:33:59 +02:00
Lars Hagström
fb52749ed2 fix memory barriers in atomic operations 2014-08-12 10:29:39 +02:00
Ion Gaztañaga
4e56b3c032 Reorganized Doxygen marks to obtain a better header reference 2014-08-04 00:18:14 +02:00
Ion Gaztañaga
aa9d568a8e Fixed typo in interprocess.qbk 2014-08-01 11:27:53 +02:00
Ion Gaztañaga
3fc54a9b59 Updated Jamfile.v2 with new macros for Doxygen and update changelog. 2014-07-31 23:43:44 +02:00
Ion Gaztañaga
58019f0d9a Trac #10229: Compiling errors in interprocess\detail\os_file_functions.hpp 2014-07-31 23:41:05 +02:00
Ion Gaztañaga
3c09ceec0c Renamved variable "hz" as it conflicts with AIX's system variable. 2014-07-30 16:38:50 +02:00
Ion Gaztañaga
ad1b7f301c Massive but simple changes:
- Removed all tabs
- Changed all Doxygen @cond/@endcond tags with preprocessor sections, as Doxygen still has some problems when parsing this code. This also makes unmatched Doxygen sections a compilation error, which is easier to detect.
2014-07-30 11:46:32 +02:00
Ion Gaztañaga
36713fbe07 Fixed missing [endsect] and shallowed a bit the Notes section. 2014-07-30 11:44:39 +02:00
Ion Gaztañaga
18a69ef795 Merge branch 'awulkiew-fix' into develop 2014-07-29 11:29:17 +02:00
Adam Wulkiewicz
048c570c70 Fix compilation error in MinGW, invalid return type (pointer to function) 2014-07-28 13:47:26 +02:00
Ion Gaztañaga
ed77ae663a Updated change log with Trac #10230 boost-1.56.0 2014-07-28 00:14:54 +02:00
Ion Gaztañaga
dfed5bbab5 Fixes #10230: No Sleep in interprocess::winapi 2014-07-28 00:09:47 +02:00
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
a3e766e635 Fix compilation error in Mingw, GetProcAddress does not return void*, but a pointer to function 2014-07-14 23:32:16 +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
fe40c36e6c Removed unused variable and strict aliasing warnings in GCC. 2014-06-16 21:07:10 +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
a530143c41 Fixed test to test that get_instance_name returns typeid(T).name(). 2014-06-16 00:24:35 +02:00
Ion Gaztañaga
1eb0000ac9 Fixed unused variable and redeclaration warnings. 2014-06-06 14:06:53 +02:00
Ion Gaztañaga
360a39d078 Removed unneeded dependency from Boost.Math 2014-06-06 14:06:11 +02:00
Ion Gaztañaga
8895c8a44e Removed some unused typedef/variable warnings 2014-06-06 08:49:53 +02:00
Ion Gaztañaga
e7ecf38a82 Merge branch 'awulkiew-fixes' into develop 2014-06-06 08:37:59 +02:00
Adam Wulkiewicz
0be5672e70 Fix MinGW warnings caused by the unknown MSVC pragmas 2014-06-06 00:51:51 +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