Commit Graph

256 Commits

Author SHA1 Message Date
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
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
Ion Gaztañaga
2fe567ffad Fixes #9288
[SVN r86475]
2013-10-27 12:16:43 +00:00
Ion Gaztañaga
ffcddef660 Fixes #9226 (On some computers, Common Appdata is empty in registry, so boost interprocess cannot work)
[SVN r86318]
2013-10-15 09:07:36 +00:00
Ion Gaztañaga
b91dd9efbc Removed incorrect assert(0) introduced when resolving #9221
[SVN r86317]
2013-10-15 08:54:28 +00:00
Ion Gaztañaga
a4ce866747 Fixes #9221 ("message_queue deadlock on linux")
[SVN r86316]
2013-10-15 08:02:09 +00:00
Ion Gaztañaga
5fb241ea57 Fixes #9248 ("os_file_functions.hpp: delete_subdirectories_recursive Win32 HANDLE leak")
[SVN r86304]
2013-10-14 19:50:13 +00:00
Ion Gaztañaga
d472972da5 Don't use EAGAIN as it's not used and requires missing cerrno
[SVN r86088]
2013-09-30 21:01:27 +00:00
Ion Gaztañaga
94b33a6b0b Notify all waiting threads in destructor to allow POSIX semantics on condition variables destruction.
[SVN r86001]
2013-09-29 11:46:58 +00:00
Ion Gaztañaga
cfbcaa43c3 Changed #include <boost/type_traits.hpp> with <boost/type_traits/alignment_of.hpp> + <boost/type_traits/make_unsigned.hpp> to avoid unnecessary header includes.
[SVN r86000]
2013-09-29 11:44:19 +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
Stephen Kelly
40e5c3adab Interprocess: Remove obsolete MSVC version check
[SVN r85935]
2013-09-26 09:41:56 +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
2e9c9f0eb8 Detect Mac Os version and allow process-shared synchronization primitives when minimum target is Mac Os Lion or newer (refs #6108).
[SVN r85685]
2013-09-15 19:38:08 +00:00
Ion Gaztañaga
fcb3901d94 Removed unused typedefs
[SVN r85652]
2013-09-11 20:59:09 +00:00
Ion Gaztañaga
e84d3fd791 Improved spin_wait storing a long system tick variable instead of OS_highres_count_t, which can be quite big on POSIX systems. Removed __int64 constructor and replaced with static_cast to fix MinGW errors.
[SVN r85651]
2013-09-11 20:57:21 +00:00
Ion Gaztañaga
0110909521 Fixes #9073
[SVN r85589]
2013-09-07 06:56:47 +00:00
Ion Gaztañaga
0037823e04 Fixes #8976
[SVN r85587]
2013-09-06 21:24:37 +00:00
Ion Gaztañaga
e585dc3b64 Fixes #7156
[SVN r85555]
2013-09-03 22:03:10 +00:00
Ion Gaztañaga
86a09a1990 Fixed linker error as the class static variable was used in an explicit instantiation
[SVN r85525]
2013-08-30 09:04:40 +00:00
Ion Gaztañaga
fd06b8e046 Fixes #9065
[SVN r85522]
2013-08-30 07:56:41 +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
856d0d3f41 Fixes #9008
[SVN r85401]
2013-08-20 08:47:17 +00:00
Ion Gaztañaga
970c61477f Add missing delete and additional checks in intermodule singleton code
[SVN r84994]
2013-07-09 21:22:15 +00:00
Ion Gaztañaga
1c3294e922 Fixes #8793
[SVN r84993]
2013-07-09 21:21:00 +00:00
Ion Gaztañaga
9b09f7a986 Fixes #8277
[SVN r84545]
2013-05-29 07:24:13 +00:00
Ion Gaztañaga
356a5c6c25 Comment correction
[SVN r84425]
2013-05-22 19:01:19 +00:00
Ion Gaztañaga
5642037578 Changed bootstamp function in Windows to use EventLog service Changed bootstamp function in Windows to use EventLog service start time as system bootup time. Previously used LastBootupTime from WMI was unstable with time synchronization and hibernation and unusable in practice. If you really need to obtain pre Boost 1.54 behaviour define BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME from command line or detail/workaround.hpp. Fixes #7936
[SVN r84424]
2013-05-22 18:43:16 +00:00
Ion Gaztañaga
006cb69770 Fixes #8595
[SVN r84390]
2013-05-20 15:38:24 +00:00
Ion Gaztañaga
7ad221d122 Fixes #8521
[SVN r84356]
2013-05-18 20:15:36 +00:00
Ion Gaztañaga
b1a96aae57 Fixes #4557
[SVN r83959]
2013-04-18 20:03:18 +00:00
Ion Gaztañaga
541517763f Added missing const to get_num_msg function
[SVN r83470]
2013-03-16 20:01:55 +00:00
Ion Gaztañaga
db5e21b4ab Activated branchless code to more offset_ptr internal functions.
[SVN r83143]
2013-02-24 22:39:13 +00:00
Ion Gaztañaga
f9c10bd60d Fixes #8030
[SVN r83142]
2013-02-24 22:38:07 +00:00
Ion Gaztañaga
b219e40e11 Use make_unsigned to avoid using signed/unsigned comparisons
[SVN r82845]
2013-02-12 21:22:23 +00:00
Ion Gaztañaga
c6b7df1f20 Fixes #7164 (first bug only)
[SVN r82810]
2013-02-10 22:07:41 +00:00
Ion Gaztañaga
9b9b3de1f1 Fixes #7928
[SVN r82803]
2013-02-10 11:20:47 +00:00
Ion Gaztañaga
ab0ce14109 Fixes #7928
[SVN r82802]
2013-02-10 11:18:57 +00:00
Ion Gaztañaga
6a78897793 Fixed #7924
[SVN r82799]
2013-02-10 00:30:06 +00:00
Ion Gaztañaga
15764dfc63 Fixes #7923
[SVN r82797]
2013-02-09 17:48:29 +00:00
Ion Gaztañaga
9d39752b91 Fixes #7682
[SVN r82796]
2013-02-09 17:45:09 +00:00
Ion Gaztañaga
0ad5e53c2b Fixes #7598
[SVN r82778]
2013-02-07 20:00:42 +00:00
Ion Gaztañaga
ea3a29f166 Fixes #7598
[SVN r82537]
2013-01-18 21:12:04 +00:00
Ion Gaztañaga
9d096b45f6 Fixes #7484
[SVN r82434]
2013-01-10 20:06:22 +00:00
Ion Gaztañaga
dc03a98978 Fixes #7795
[SVN r82245]
2012-12-28 22:39:28 +00:00