Commit Graph

534 Commits

Author SHA1 Message Date
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
Ion Gaztañaga
02a7e7ecf2 More interprocess_exception fixes & #ifdef rephrasings 2014-05-25 20:50:39 +02:00
Adam Wulkiewicz
d0a647b129 Rephrase the #ifdef in errors.hpp 2014-05-25 17:21:50 +02:00
Adam Wulkiewicz
f1e1af0a47 Fix interprocess_exception throw in file_wrapper::priv_open_or_create.
On Windows the exception object is created using the result of GetLastError().
When compiled using MinGW the throw instruction itself is using some WinApi call which overwrites the last error.
Therefore the error code must be retrieved before the exception is thrown.
2014-05-25 17:13:35 +02:00
Ion Gaztañaga
58078fad47 Added pull #2 to changelist 2014-05-21 14:37:09 +02:00
Richard Dale
ec7b1726a6 Provide support for the Cray C++ compiler. The Cray compiler defines __GNUC__
and generally supports gnu extensions to C and C++.  It does not, however, support
inline assembly.  The changes here are to avoid inline assembly when _CRAYC is asserted
in the preprocessor.
2014-05-20 13:14:53 -05:00
Ion Gaztañaga
664739f824 Merge branch 'develop' 2014-04-30 12:49:24 +02:00
Ion Gaztañaga
978b1eaf6e Changelog updated marking issue #9729 as resolved. 2014-04-28 01:31:21 +02:00
Ion Gaztañaga
fb1b0e547c Fixes #9767 (bootstamp generation causes error in case of corrupt Windows Event Log) and #9911 (get_tmp_base_dir(...) failure) 2014-04-28 01:21:03 +02:00
Ion Gaztañaga
9191d2cca6 Fixed #9946: ret_ptr uninitialized in init_atomic_func, fini_atomic_func 2014-04-26 23:47:09 +02:00
Ion Gaztañaga
1e2345cdf1 Merge branch 'develop' 2014-04-16 12:21:17 +02:00
Ion Gaztañaga
5f81d0dc14 Fixes #9861 "Remove references to gcc-mingw" 2014-04-16 12:13:59 +02:00
Ion Gaztañaga
65b5d34a04 Fixes #9835, typos and MSVC version offset_ptr branchless optimization fix. 2014-04-08 06:50:52 +02:00
Ion Gaztañaga
f7a0fe53d6 Merge branch 'develop' 2014-02-15 00:16:16 +01:00
Ion Gaztañaga
cdda0f1854 Workaround for MSVC2013 x64 2014-02-15 00:15:39 +01:00
Ion Gaztañaga
7560456f8d Workaround for MSVC20013 x64 2014-02-15 00:14:43 +01:00
Ion Gaztañaga
f996890d8f Syncs master and develop 2014-02-14 23:22:02 +01:00
Ion Gaztañaga
0526a090be Fixed previous git reset error. 2014-02-14 23:20:54 +01:00
Ion Gaztañaga
15d293dcc0 Merge branch 'master' of github.com:boostorg/interprocess 2014-02-14 21:58:39 +01:00
Ion Gaztañaga
ce5733d260 Sync'ed master with latest develop 2014-02-14 21:57:08 +01:00
Ion Gaztañaga
a0ea486cf6 Merge branch 'develop' interprocess-1.56.00.b0 2014-02-14 20:03:03 +01:00
Ion Gaztañaga
874c4ae55c Create first merge point for Git 2014-02-14 19:40:29 +01:00
Ion Gaztañaga
f5f5c8c903 - Removed old fully_mapped_file.hpp header provoked by git transition
- Typo and extra space fix.
2013-12-23 10:21:59 +01:00
Beman
22719e92e2 End-of-line normalization. Most normalization was taken care of by .gitattributes, but a few files originally committed to svn with incorrect eol tags need explicit normalization. See .gitattributes man page and extensive list discussion. 2013-12-01 17:14:41 -05:00
Beman
befc284064 End-of-line normalization. Most normalization was taken care of by .gitattributes, but a few files originally committed to svn with incorrect eol tags need explicit normalization. See .gitattributes man page and extensive list discussion. 2013-12-01 11:39:01 -05:00
Ion Gaztañaga
07bb8d0940 Fixed error when adding os_thread_func_ptr_deleter, UNIX OSs also use it.
[SVN r86777]
2013-11-20 17:10:43 +00:00
Ion Gaztañaga
ecfec55cc9 Fixes #9408 ("Android does not support XSI_SHARED_MEMORY_OBJECTS")
[SVN r86765]
2013-11-19 11:53:51 +00:00
Ion Gaztañaga
7550571040 Removed auto_ptr to avoid deprecation warnings in newer compilers.
[SVN r86749]
2013-11-18 09:33:36 +00:00
Ion Gaztañaga
0773ececab Fixes unfinished code in timed_wait for systems without POSIX timeout support, such as Darwin
[SVN r86529]
2013-10-31 08:54:12 +00:00
Ion Gaztañaga
2f4496a376 Updated 1.56 changelog with #9284
[SVN r86513]
2013-10-29 09:18:39 +00:00
Ion Gaztañaga
960f8f35fd Fixes #9284 ("WaitForSingleObject(mutex) must handle WAIT_ABANDONED")
[SVN r86512]
2013-10-29 08:05:27 +00: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
94cfd64cfe Fixes #9285
[SVN r86476]
2013-10-27 12:28:55 +00:00