Vicente J. Botet Escriba
0543b522cb
try to fix 10340.
2014-08-30 17:54:12 +02:00
Vicente J. Botet Escriba
f1a274b51c
make it possible to have polymorphic queue copyable_only/movable_only/copyable_and_movable.
2014-08-29 21:06:15 +02:00
Vicente J. Botet Escriba
f299fb8083
fix typo.
2014-08-29 12:51:42 +02:00
Vicente J. Botet Escriba
074dcbcbf5
make polymorphic queues move operations only available if C++11 RVALE supported.
2014-08-28 22:26:02 +02:00
Vicente J. Botet Escriba
957253401f
Try to fix invoker making it ComyConstructible and Movable.
2014-08-27 13:35:59 +02:00
Vicente J. Botet Escriba
3195253230
rollback last merge as it is breaking all the regression tests.
2014-08-27 00:16:19 +02:00
Marcel Raad
3b75d6dabc
Use BOOST_THREAD_RV_REF for move constructors
...
If BOOST_THREAD_FWD_REF is used, the copy constructor is re-declared. Tested with clang 3.4.
2014-08-26 10:17:26 +02:00
Vicente J. Botet Escriba
fc0d7e23b3
remove todo comments.
2014-08-25 17:17:50 +02:00
Vicente J. Botet Escriba
aeabda8d45
make use of move when a rvalue is used and make use of BOOST_THREAD_FWD_REF when a URef is used.
2014-08-24 22:48:06 +02:00
Vicente J. Botet Escriba
3bde7e103c
Added virtual submit(work&).
2014-08-24 18:17:59 +02:00
Vicente J. Botet Escriba
ea0889485e
Make use of BOOST_THREAD_COPYABLE_AND_MOVABLE and BOOST_THREAD_COPY_ASSIGN_REF when appropriated.
2014-08-24 18:16:28 +02:00
Vicente J. Botet Escriba
d4d46c64dd
fix loop_executor run_queued_closures issue.
2014-08-23 19:14:21 +02:00
Vicente J. Botet Escriba
f3fa80c866
Added generic_executor_ref, queue_base and queue views, fix some issues in executors.
2014-08-23 18:29:47 +02:00
Vicente J. Botet Escriba
7e21f24991
Merge branch 'develop' of github.com:boostorg/thread into develop
2014-08-21 19:18:56 +02:00
Eric Niebler
8aef8000d9
Merge branch 'master' into develop
2014-08-03 12:12:27 -07:00
Andrey Semashev
0b2a61bca0
Fixed compilation with gcc 4.6 in C++11 mode
...
The compiler considers invoke() call ambiguous when the function object is actually a function pointer. This caused compilation errors in Boost.Coroutine, which uses invoke() through call_once(). Also added missing includes.
2014-08-03 11:58:54 -07:00
Niall Douglas
78f1044c68
The previous mingw32 fix unfortunately broke mingw-w64, so that is now fixed too.
2014-08-02 21:38:31 +01:00
Niall Douglas
26042ca26a
Fixed mingw32 compile breakage.
2014-08-02 18:56:08 +01:00
Vicente J. Botet Escriba
74132067ba
prepare tss<void>.
2014-07-31 19:29:19 +02:00
Vicente J. Botet Escriba
c4d42e6b6c
make use of wait_pull_front instead of pull_front.
2014-07-31 19:28:04 +02:00
Andrey Semashev
b81a838a43
Fixed compilation with gcc 4.6 in C++11 mode
...
The compiler considers invoke() call ambiguous when the function object is actually a function pointer. This caused compilation errors in Boost.Coroutine, which uses invoke() through call_once(). Also added missing includes.
2014-07-31 02:27:33 +04:00
Vicente J. Botet Escriba
c6e70226ea
Merge branch 'develop'
2014-07-26 07:19:59 +02:00
Steve Gates
a06dde3794
Merge branch 'develop' into winrt2
...
Conflicts:
include/boost/thread/win32/thread_primitives.hpp
src/win32/gettickcount64.cpp
2014-07-18 12:19:46 -07:00
Steve Gates
726a3faf19
Removing QueueUserAPC on Windows Runtime.
2014-07-17 10:49:09 -07:00
Niall Douglas
590a3d99b0
Merge pull request #20 from ned14/develop
...
Decrufted GetTicksCount64 patch. Fixed break of build on MSVC.
2014-07-11 10:27:27 +01:00
Steve Gates
c977c8d420
Qualifying some functions calls in thread_primitives.hpp to avoid potentially ambiguity.
2014-07-10 18:09:24 -07:00
Steve Gates
a1faacd7bb
Fixing up copyrights that got reordered.
2014-07-09 16:43:48 -07:00
Steve Gates
866b78cbd0
Addressing more feedback:
...
Reverting disabling thread attributes for WinRT.
Created common GetSystemInfo/GetNativeSystemInfo function.
Fix this_thread get_id() bug on WinRT.
Enabled initializing the Windows Runtime in each test for execution. This
is not when using in Windows store/phone applications, just if a desktop
app.
2014-07-09 15:47:37 -07:00
Steve Gates
0861f81b05
Merge branch 'develop' of https://github.com/boostorg/thread into feedback
2014-07-08 14:53:47 -07:00
Steve Gates
6488028a22
Incorporating feedback: removed copyright, removed some ifdefs.
2014-07-08 14:53:39 -07:00
Vicente J. Botet Escriba
14dfe49c50
Merge branch 'develop'
2014-07-08 21:56:44 +02:00
Vicente J. Botet Escriba
08c4599fb6
Added inline for when_all() and when_any().
2014-07-07 22:07:44 +02:00
Vicente J. Botet Escriba
ca14e6187d
Merge branch 'develop'
2014-07-06 18:48:30 +02:00
Vicente J. Botet Escriba
f263c6014e
fix wait_pull_front in case the queue is closed while empty.
2014-07-06 18:47:48 +02:00
Vicente J. Botet Escriba
9e962e12e2
Merge branch 'develop'
2014-07-06 11:48:55 +02:00
Vicente J. Botet Escriba
6e154d45a4
fix wait_pull_front issue introduced in previous commit and add more tests.
2014-07-06 11:05:51 +02:00
Vicente J. Botet Escriba
6074487b73
Fix isse on sync_bounded_queue::wait_push_front and add tests.
2014-07-05 19:38:10 +02:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
04c53415fd
Extracted the original GetTicksCount64 de-cruft patch and rebased on boostorg/thread:develop.
2014-07-05 16:38:17 +01:00
Vicente J. Botet Escriba
fe6daec2bc
don't close the queue when an exception is throw, don't return empty on wait_pull_pull_front.
2014-07-05 14:57:37 +02:00
Vicente J. Botet Escriba
817591b87c
protect the use of && when BOOST_NO_CXX11_RVALUE_REFERENCES is defined.
2014-07-04 08:07:57 +02:00
Vicente J. Botet Escriba
d7a3f124db
Merge branch 'develop'
2014-07-03 07:10:04 +02:00
Steve Gates
9ceea9822f
Enabling Boost.Thread to be used in the Windows Runtime.
...
This involves basically 3 changes:
1. Using __declspec(thread) instead of the Tls APIs.
2. Using Windows::System::Threading since Win32 Threading APIs aren't allowed.
3. Updating or replacing some banned APIs like WaitForSingleObject with WaitForSingleObjectEx.
2014-07-02 14:21:43 -07:00
Vicente J. Botet Escriba
00ad9dddb9
Added nested type op_status.
2014-06-29 23:04:34 +02:00
Andrey Semashev
99ac322223
Fix warnings about redefining a defined macro
...
The warnings appear when a dependent project (e.g. Boost.Log tests and examples) builds with link=shared and defines BOOST_ALL_DYN_LINK macro. In this case BOOST_THREAD_USE_DLL is defined by both thread/build/Jamfile.v2 and boost/thread/detail/config.hpp. This commit makes sure that doesn't happen.
2014-06-22 19:13:01 +04:00
Vicente J. Botet Escriba
414fce4580
Merge branch 'develop'
2014-06-13 18:58:08 +02:00
Vicente J. Botet Escriba
fe195e776b
make use of underlying_cast<int> insted of int cast.
2014-06-12 19:43:16 +02:00
Marcel Raad
3a5c926930
Fix for BOOST_NO_CXX11_RVALUE_REFERENCES
...
Fix compilation of future.hpp with BOOST_NO_CXX11_RVALUE_REFERENCES defined. Tested on clang and MSVC12.
BOOST_NO_CXX11_RVALUE_REFERENCES has to be defined if the compiler provides rvalue references, but the standard library doesn't provide std::move. Without these fixes, the deleted copy constructor is called.
2014-06-12 17:41:20 +02:00
Vicente J. Botet Escriba
ac1b9653f3
Merge branch 'develop'
2014-06-09 17:55:57 +02:00
Vicente J. Botet Escriba
54ee07e745
Make use of core files.
2014-06-09 17:35:00 +02:00
Vicente J. Botet Escriba
4def87448e
Merge pull request #12 from Lastique/patch-3
...
Silence warnings about unused variables.
2014-06-09 15:07:48 +02:00
Vicente J. Botet Escriba
fcf7a1811e
make use of underlying_cast<int> when casting from an enum class.
2014-06-09 14:04:11 +02:00
Andrey Semashev
d8f628ae65
Silence warnings about unused variables.
2014-06-09 15:20:12 +04:00
Vicente J. Botet Escriba
0bd10b7244
Merge branch 'develop'
2014-06-08 12:11:31 +02:00
Vicente J. Botet Escriba
24635c588f
Removed incomplete file.
2014-06-04 13:04:59 +02:00
Vicente J. Botet Escriba
4f8106c00e
remove dependency on Optional.
2014-06-04 08:21:08 +02:00
Vicente J. Botet Escriba
3c4f1ea365
remove dependency on MPL.
2014-06-04 08:20:28 +02:00
Vicente J. Botet Escriba
8c0640e5be
Fix typo.
2014-05-21 20:07:53 +02:00
Kyle Lutz
d3d2ad2390
Add variadic wait_for_all() and wait_for_any() functions
2014-05-20 22:49:44 -07:00
Vicente J. Botet Escriba
0a4af0c5ed
Merge branch 'develop'
2014-03-10 19:28:02 +01:00
Andrey Semashev
0d10e282fa
Fix compilation on Windows
...
Corrected is_special method name.
2014-03-10 19:43:46 +03:00
Vicente J. Botet Escriba
e8181da6d4
Merge branch 'develop'
2014-03-09 14:47:51 +01:00
Vicente J. Botet Escriba
68dc454a66
Take in account pos_infinity.
2014-03-09 14:42:50 +01:00
Vicente J. Botet Escriba
0e0ee99c61
Added BOOST_THREAD_DECL to GetTickCount64.
2014-03-04 00:29:39 +01:00
Vicente J. Botet Escriba
f747d79c5b
comment redefinition of ticks_type.
2014-03-02 12:46:56 +01:00
Vicente J. Botet Escriba
143adde27d
pull patch for #8070 .
2014-02-27 07:47:20 +01:00
Vicente J. Botet Escriba
d2a65d2427
fix #9711 .
2014-02-26 22:08:09 +01:00
Vicente J. Botet Escriba
cc29295986
Merge branch 'develop'
2014-02-21 13:37:06 +01:00
Vicente J. Botet Escriba
1dbf7028fe
Try to workaround some issues with MSVC lambdas.
2014-02-21 10:52:18 +01:00
Vicente J. Botet Escriba
0bba5e630e
Merge branch 'develop'
2014-02-16 23:39:00 +01:00
Vicente J. Botet Escriba
84c30313a2
Start invoker_ret.
2014-02-16 23:34:52 +01:00
Vicente J. Botet Escriba
54646e9959
Added sleep_for/until with no interruption point.
2014-02-16 23:33:03 +01:00
Vicente J. Botet Escriba
3f5823f50a
Add parallel_quick_sort example.
2014-02-16 17:25:49 +01:00
Vicente J. Botet Escriba
e1636bdbd5
Take care of #9618 : try_join_for(ms(1)).
2014-02-16 10:53:07 +01:00
Vicente J. Botet Escriba
750c849b0f
merge from develop for 1.56.
2014-02-15 16:08:32 +01:00
Vicente J. Botet Escriba
0a05db8399
rename async_func.hpp by invoker.hpp.
2014-02-11 22:39:55 +01:00
Vicente J. Botet Escriba
1d7da085ea
rename async_func.hpp by invoker.hpp.
2014-02-10 07:42:28 +01:00
Vicente J. Botet Escriba
75236fe3ae
rename async_func by invoker.
2014-02-09 16:53:19 +01:00
Vicente J. Botet Escriba
b1ac899f23
Pulled with_lock_guard patch.
2014-02-09 03:42:39 +01:00
Vicente J. Botet Escriba
4a54ac0331
make functions that must be private private, e.g. as start_thread.
2014-02-08 17:43:23 +01:00
Vicente J. Botet Escriba
51e49c69b5
refactor elapsed time check and fix bad uses of base_type. in csbl::unique_ptr.
2014-02-08 16:28:02 +01:00
Vicente J. Botet Escriba
ab2a180de5
Added test for async_func and fixed a some issues.
2014-02-08 07:58:39 +01:00
Vicente J. Botet Escriba
3772a8294b
Format/indent file.
2014-02-07 07:32:34 +01:00
Vicente J. Botet Escriba
980772d514
Added make_ready_no_decay_future and remove the use of asynch on make_future test.
2014-02-03 18:31:43 +01:00
Vicente J. Botet Escriba
94b27db991
move when mawros to config.hpp file.
2014-02-03 18:30:08 +01:00
Vicente J. Botet Escriba
0a58445b63
comment #error
2014-02-02 08:47:56 +01:00
Vicente J. Botet Escriba
8682f7cb48
Added some test to internal invoke function add the associated fixes.
2014-02-02 08:13:58 +01:00
Vicente J. Botet Escriba
36bc3c0523
Added 2 arguments async executor.
2014-01-28 23:08:07 +01:00
Vicente J. Botet Escriba
0218cb90b3
fix typo issues on invoke.
2014-01-28 23:01:41 +01:00
Vicente J. Botet Escriba
f4d4c16294
try to fix compiler error while using std::get instead of csbl::get
2014-01-27 22:30:48 +01:00
Vicente J. Botet Escriba
85d22a8d93
Added exceptional_ptr and adapt futures to be implicitly convertible from exceptional_ptr.
2014-01-26 17:55:09 +01:00
Vicente J. Botet Escriba
7eb67443dd
Added exceptional_ptr and adapt futures to be implicitly convertible from exceptional_ptr.
2014-01-26 17:53:49 +01:00
Vicente J. Botet Escriba
4308e0ec24
Added make_exceptional_future.
2014-01-26 09:19:31 +01:00
Vicente J. Botet Escriba
ac9497dec9
Try to solve some issues with invoke on MSVC.
2014-01-26 09:18:34 +01:00
Vicente J. Botet Escriba
8fec35f444
Update mutex destructor to see if the assertion message is better.
2014-01-26 09:15:12 +01:00
Vicente J. Botet Escriba
7b3fa08503
make shared_state_nullary_task copyable and movable and avoid msvc default generation.
2014-01-20 23:02:48 +01:00
Vicente J. Botet Escriba
690feeb9ba
indent and comment #if.
2014-01-19 07:56:57 +01:00
Vicente J. Botet Escriba
5d76ab52e7
reorder async() conditional compilation variants to factor more code.
2014-01-19 07:52:38 +01:00
Vicente J. Botet Escriba
cb845f19e4
Fix issues with future::async and disable the code when BOOST_NO_CXX11_DECLTYPE_N3276 is defined as it is bugged.
2014-01-18 15:27:03 +01:00
Vicente J. Botet Escriba
2886e985b4
cleanup comments.
2014-01-16 23:58:37 +01:00
Vicente J. Botet Escriba
f4d0ecbab5
Added at thread entry callback on thread pool.
2014-01-13 22:51:57 +01:00
Vicente J. Botet Escriba
1fc78c7ceb
Added inline and thread executors.
2014-01-13 22:16:09 +01:00
Vicente J. Botet Escriba
5c18d92a5f
Make work public.
2014-01-13 22:10:34 +01:00
Vicente J. Botet Escriba
06325961ef
Make work public.
2014-01-13 22:09:43 +01:00
Vicente J. Botet Escriba
10b283e03a
Added missing iomanip include.
2014-01-13 22:08:20 +01:00
Vicente J. Botet Escriba
6ab71dc057
executor_adaptor<serial_executor> a(b) doesn't compiles on C++03.
2014-01-12 18:28:24 +01:00
Vicente J. Botet Escriba
47be5228b1
fix typo on try_push_back.
2014-01-12 18:26:46 +01:00
Vicente J. Botet Escriba
6c5a6e4330
Reorganized executors on its own directory adding serial_executor and renamed thread_pool by basic_thread_pool and user_scheduler by loop_scheduler.
2014-01-12 17:52:27 +01:00
Vicente J. Botet Escriba
326842cc7f
Fix #9335 Missing exception safety might result in crash
2014-01-11 21:19:05 +01:00
Vicente J. Botet Escriba
9f592860cd
Update sync queues closed operations
2014-01-11 18:57:44 +01:00
Vicente J. Botet Escriba
74bb7d6b29
Thread: for explicit constructor for nullary_function.
...
[SVN r86772]
2013-11-19 22:00:56 +00:00
Vicente J. Botet Escriba
fbfda71555
Thread: Allows to force the use of boost libraries on csbl.
...
[SVN r86771]
2013-11-19 21:58:59 +00:00
Vicente J. Botet Escriba
f3a66f76e0
Thread: merge from trunk for 1.56.
...
[SVN r86770]
2013-11-19 21:58:34 +00:00
Vicente J. Botet Escriba
19346e1817
Thread: improve async_func to try to solve msvc issue with executor.
...
[SVN r86744]
2013-11-17 23:44:45 +00:00
Vicente J. Botet Escriba
f6edd7cace
Thread: use PP only if MSVC not defined, until I can debug it.
...
[SVN r86714]
2013-11-15 19:51:40 +00:00
Vicente J. Botet Escriba
126ed2428b
Thread: try to remove warning C4520: 'boost::executor_adaptor<boost::thread_pool>' : multiple default constructors specified.
...
[SVN r86698]
2013-11-14 18:53:51 +00:00
Vicente J. Botet Escriba
fd631e2794
Thread: remove BOOST_THREAD_MAX_ARGS_P1.
...
[SVN r86697]
2013-11-14 17:56:07 +00:00
Vicente J. Botet Escriba
44f9a2f4ad
Thread: merge dummy replacement to fix #9341 .
...
[SVN r86658]
2013-11-12 18:35:19 +00:00
Vicente J. Botet Escriba
e1d6baddd6
Thread: merge missing thread move constructor noexcept.
...
[SVN r86656]
2013-11-12 18:32:37 +00:00
Vicente J. Botet Escriba
9287a29c9d
Thread: Adding pp variadic to asyn_func and fix some typos.
...
[SVN r86629]
2013-11-11 23:00:37 +00:00
Vicente J. Botet Escriba
5c0cecaaf8
Thread: add _back/_front using queue_op_status interface to sync queues and update the depending classes thread_pool and user_scheduler; Simplfy some test to isolate the errors on msvc-12.
...
[SVN r86616]
2013-11-11 10:43:15 +00:00
Vicente J. Botet Escriba
713f5a449c
Thread: Added missing include.
...
[SVN r86599]
2013-11-09 15:26:49 +00:00
Vicente J. Botet Escriba
b336427571
Thread: try to fix error on mscv-12 when scoped_thread uses private dummy class with enable_if.
...
[SVN r86595]
2013-11-09 11:50:21 +00:00
Vicente J. Botet Escriba
2a16b649ad
Thread: Added caller_context.hpp; Change executor by Executor template parameter in async; update the number of time the failing tests are run to catch all the compilers.
...
[SVN r86586]
2013-11-08 17:51:39 +00:00
Vicente J. Botet Escriba
3723cedcab
Thread: Added user_scheduler (loop_executor).
...
[SVN r86570]
2013-11-06 06:37:46 +00:00
Vicente J. Botet Escriba
88880770d3
Thread: merge [86540] to fix #9319 .
...
[SVN r86552]
2013-11-03 20:43:42 +00:00
Vicente J. Botet Escriba
9138a2ae92
Thread: Added missing variadic constructor for task_shared_state.
...
[SVN r86548]
2013-11-03 16:17:23 +00:00
Vicente J. Botet Escriba
19290fddf9
Thread: manage system::errc as it was an real enum class, so no implicitly convertible to an int.
...
[SVN r86544]
2013-11-02 09:58:33 +00:00
Vicente J. Botet Escriba
6e81db4172
Thread: try to avoid compile error with msvc.12.
...
[SVN r86542]
2013-11-02 09:54:13 +00:00
Vicente J. Botet Escriba
3a68a63478
Thread: unlock around the calls to continuations oe deferred future executions.
...
[SVN r86540]
2013-11-01 21:08:00 +00:00
Vicente J. Botet Escriba
7875edd234
Thread: make use of csbl to make the code more readable and to ensure that it interact well with the std.
...
[SVN r86504]
2013-10-28 20:08:39 +00:00
Vicente J. Botet Escriba
2be0b4f8fd
Thread: added missing boost/tuple/tuple.hpp file.
...
[SVN r86498]
2013-10-28 10:34:51 +00:00
Vicente J. Botet Escriba
67528fc9af
Thread: fix thread move constructor noexecpt.
...
[SVN r86493]
2013-10-28 02:31:55 +00:00
Vicente J. Botet Escriba
4da1e9dca1
Thread: cleanup replacing some macros by the types imported on csbl namespace comming from std or boost. Cleanup work type ussage.
...
[SVN r86471]
2013-10-26 23:35:40 +00:00
Vicente J. Botet Escriba
955b207c05
Thread: Added csbl (Common Std Boost Library) files, which allows to use on the csbl namespace eother a std or a boost file, e.g. tuple, vector, functional.
...
[SVN r86453]
2013-10-26 15:07:34 +00:00
Vicente J. Botet Escriba
51aff0fb00
Thread: Adapt barrier to new nullary_function.
...
[SVN r86443]
2013-10-26 10:23:00 +00:00
Vicente J. Botet Escriba
bfe7af29bc
Thread: adapt thread_pool and executor to the new nullary_function work.
...
[SVN r86442]
2013-10-26 10:21:27 +00:00
Vicente J. Botet Escriba
4681104b33
Thread: Added a portable copyable/movable thread_pool/executor work.
...
[SVN r86441]
2013-10-26 10:20:13 +00:00
Vicente J. Botet Escriba
d602f44af6
Thread: Added a portable copyable/movable nullary_function functor.
...
[SVN r86440]
2013-10-26 10:20:02 +00:00
Vicente J. Botet Escriba
dc55945760
Thread: Add BOOST_THREAD_RV when accessing a BOOST_THREAD_RV_REF to be portable.
...
[SVN r86439]
2013-10-26 10:19:38 +00:00
Vicente J. Botet Escriba
f7f0347780
Thread: first steps toward async(executor&, f).
...
[SVN r86327]
2013-10-16 06:15:51 +00:00
Vicente J. Botet Escriba
d6c4be0cd0
Thread: add thread_pool reserv for worker threads.
...
[SVN r86291]
2013-10-13 13:15:05 +00:00
Vicente J. Botet Escriba
e146febd70
Thread: Added future::when_all/when_any (async vector version) for C++11 compilers.
...
[SVN r86290]
2013-10-13 13:08:29 +00:00
Vicente J. Botet Escriba
cad6f2b9a6
Thread: Add Copyright.
...
[SVN r86282]
2013-10-13 10:11:06 +00:00
Tim Blechmann
fc65611e82
Revert "Thread: provide physical concurrency conditional until it no regression is introduced."
...
This reverts commit 271ba281aecd5c556b2b863a9f05a8066e717854.
[SVN r86215]
2013-10-09 15:24:58 +00:00
Vicente J. Botet Escriba
8c6dcb9709
Thread: fix some issues with double definition of shared_state_base and avoid ambiguity of disable_if with Boost.Test.
...
[SVN r86202]
2013-10-08 17:09:38 +00:00
Vicente J. Botet Escriba
67afa35c49
Thread: try to fix issue with double definition of shared_state_base.
...
[SVN r86162]
2013-10-04 20:07:03 +00:00
Vicente J. Botet Escriba
63d9ae2b29
Thread: Added a polymorphic executor and an executor_adaptor.
...
[SVN r86161]
2013-10-04 20:05:26 +00:00
Vicente J. Botet Escriba
08aa0d2fb6
Thread: use boost::disable_if instead of disable_if to avoid ambiguity.
...
[SVN r86140]
2013-10-02 22:45:23 +00:00
Stephen Kelly
3c8334f8c4
Thread: Remove obsolete GCC version check.
...
[SVN r86117]
2013-10-01 08:48:07 +00:00
Vicente J. Botet Escriba
0e2c8ed9e3
Thread: ensure that the thread is joined on the future destructor created by future<T>::then().
...
[SVN r86010]
2013-09-29 19:10:11 +00:00
Vicente J. Botet Escriba
e3a1498355
Thread: provide physical_concurrency conditionally.
...
[SVN r86002]
2013-09-29 14:41:01 +00:00
Vicente J. Botet Escriba
6fab117c17
Thread: future::then should join the thread before destruction.
...
[SVN r85962]
2013-09-26 14:47:24 +00:00
Vicente J. Botet Escriba
4a63d4992c
Thread: provide physical concurrency conditional until it no regression is introduced.
...
[SVN r85926]
2013-09-26 06:54:33 +00:00
Tim Blechmann
04e3d918fb
thread: implement physical_concurrency
...
[SVN r85864]
2013-09-24 06:41:24 +00:00
Vicente J. Botet Escriba
0073516f0a
Thread: added missing function wrapper.
...
[SVN r85863]
2013-09-24 05:35:11 +00:00
Vicente J. Botet Escriba
89de3dcf4f
Thread: make it possible to use non default constructible types in sync_queue, but sync_bounded_queue requires it yet.
...
[SVN r85861]
2013-09-23 21:40:08 +00:00
Vicente J. Botet Escriba
47f40f991f
Thread: added first thread_pool.
...
[SVN r85855]
2013-09-23 16:45:00 +00:00
Vicente J. Botet Escriba
8b351fe473
Thread: fix some move semantic issues on sync_queue and sync_bounded_queue and add tests.
...
[SVN r85854]
2013-09-23 16:44:26 +00:00
Vicente J. Botet Escriba
24f1e620e8
Thread: fix some move issues on sync_queue.
...
[SVN r85841]
2013-09-22 22:23:58 +00:00
Andrey Semashev
3a7f0b1e78
Merged changes from trunk.
...
[SVN r85818]
2013-09-22 09:57:15 +00:00
Vicente J. Botet Escriba
8f06153f46
Thread: merge from trunk to fix 8070 and possibly 7461.
...
[SVN r85815]
2013-09-21 20:45:06 +00:00
Vicente J. Botet Escriba
fcc027369f
Thread: try to fix win32 condition_variable issue #7461 .
...
[SVN r85733]
2013-09-17 21:01:05 +00:00
Vicente J. Botet Escriba
5c78582794
Thread: refactor make_ready_at_thread_exit + inhibit at_thread_exit functions from external threads.
...
[SVN r85732]
2013-09-17 20:57:46 +00:00
Vicente J. Botet Escriba
650e374492
Thread: Added ostream_buffer.
...
[SVN r85709]
2013-09-16 17:24:30 +00:00
Vicente J. Botet Escriba
3ac48bdd65
Thread: patch for #8070 to make use of GetTickCount64 when available.
...
[SVN r85701]
2013-09-16 16:55:21 +00:00
Vicente J. Botet Escriba
c3c8ada97d
Thread: replace TABS.
...
[SVN r85677]
2013-09-15 16:13:47 +00:00
Vicente J. Botet Escriba
325d8cf5ca
Thread: merge atomic linked conditionaly + future:get_exception_ptr.
...
[SVN r85666]
2013-09-14 14:22:45 +00:00
Vicente J. Botet Escriba
134c323958
Thread: merge scoped_thread constr + condition_variable timed wait issues on windows + doc typos.
...
[SVN r85663]
2013-09-13 19:01:48 +00:00
Vicente J. Botet Escriba
fd5dd0c2ed
Thread: added future<>::get_exception_ptr().
...
[SVN r85644]
2013-09-10 19:40:14 +00:00
Vicente J. Botet Escriba
5520763a73
Thread fix #8943 .
...
[SVN r85622]
2013-09-09 17:04:15 +00:00
Vicente J. Botet Escriba
73f5c060ca
Thread: merge from trunk upgrade_to_unique_lock::mutex() + doc typos + BOOST_THREAD_USES_ATOMIC doc + synchronized _value call + rename wait_until params.
...
[SVN r85603]
2013-09-08 09:50:12 +00:00
Vicente J. Botet Escriba
c67e39f126
Thread: protect condition_variable/_any wait_for and wait_until from malicious input.
...
[SVN r85592]
2013-09-07 12:11:44 +00:00
Vicente J. Botet Escriba
1e49343ff4
Thread: try to handle with call_once intel issue #8943 .
...
[SVN r85539]
2013-09-01 07:22:21 +00:00
Vicente J. Botet Escriba
93d1855e64
Thread: fix scoped_thread variadic constructor.
...
[SVN r85494]
2013-08-27 22:37:15 +00:00
Vicente J. Botet Escriba
cbc4266774
Thread: rename wait_until parameter to avoid shadow with member function.
...
[SVN r85463]
2013-08-25 15:09:12 +00:00
Vicente J. Botet Escriba
3a038d33e5
Thread: rename check by cgeck_counter to avoid conflict with macro.
...
[SVN r85462]
2013-08-25 15:08:08 +00:00
Vicente J. Botet Escriba
2d50af8481
Thread: Added synchronized_value operator() to synchronize around a function call.
...
[SVN r85306]
2013-08-11 20:33:47 +00:00
Vicente J. Botet Escriba
e438c98070
Thread: Add mutex() to upgrade_to_unique_lock ( #8891 ).
...
[SVN r85195]
2013-08-03 07:47:18 +00:00
Vicente J. Botet Escriba
d759dd2dba
Thread: fix issue with continuation's future parameter which must taken by value.
...
[SVN r84978]
2013-07-07 20:36:05 +00:00
Hartmut Kaiser
fe46155997
Getting rid of 64bit warning generated by VS2012
...
[SVN r84960]
2013-07-06 18:51:54 +00:00
Vicente J. Botet Escriba
cacb5b19a6
Thread: fix issue with future<>::then() when th efuture was not created with async.
...
[SVN r84955]
2013-07-04 21:44:25 +00:00
Vicente J. Botet Escriba
30803a38b2
Thread: Added assertion on testable_mutex lock when the mutex is locked by this thread.
...
[SVN r84954]
2013-07-04 21:42:11 +00:00
Vicente J. Botet Escriba
29babb974e
Thread: remove warning in barrier.hpp.
...
[SVN r84952]
2013-07-04 21:38:33 +00:00
Vicente J. Botet Escriba
66578bf57b
Thread: rollback change in #8070 as this includes a regression on windows XP.
...
[SVN r84946]
2013-07-03 21:16:49 +00:00
Vicente J. Botet Escriba
52039f75a3
Thread: fix some issues with sync_bounded_queue and added tests.
...
[SVN r84888]
2013-06-23 20:47:03 +00:00
Vicente J. Botet Escriba
bb6fcc3b5c
Thread: unused parameter warning removal.
...
[SVN r84887]
2013-06-23 20:45:26 +00:00
Vicente J. Botet Escriba
1fc1d8aedb
Thread: Added future unwrapp constructor.
...
[SVN r84810]
2013-06-16 21:29:52 +00:00
Vicente J. Botet Escriba
042a86c984
Thread: added completion function on barrier class.
...
[SVN r84809]
2013-06-16 21:27:59 +00:00
Vicente J. Botet Escriba
364f3ea030
Thread: try to fix regression on MSVC 8/9.
...
[SVN r84807]
2013-06-16 19:34:25 +00:00
Vicente J. Botet Escriba
6873d85650
Thread: Added future::unwrap()/get_or()/fallback_to().
...
[SVN r84719]
2013-06-09 21:41:00 +00:00
Vicente J. Botet Escriba
b59e57e4cc
Thread: used cons& in deleted constructors and assignment simulation.
...
[SVN r84718]
2013-06-09 21:29:17 +00:00
Vicente J. Botet Escriba
d0f9d6216a
Thread: remove const on strict locks mutex() function.
...
[SVN r84712]
2013-06-09 09:15:26 +00:00
Vicente J. Botet Escriba
ff9636b8e0
Thread: take in account wait_abandoned.
...
[SVN r84710]
2013-06-09 08:28:28 +00:00
Vicente J. Botet Escriba
d83d23bee0
Thread: force use of chrono on windows.
...
[SVN r84709]
2013-06-09 08:27:00 +00:00
Vicente J. Botet Escriba
0c44630029
Thread: fix bug on future::then when the continuation is void() ir T&().
...
[SVN r84685]
2013-06-08 10:53:46 +00:00
Vicente J. Botet Escriba
a01af79331
Thread: apply patch #8550 .
...
[SVN r84684]
2013-06-08 08:21:34 +00:00
Vicente J. Botet Escriba
2df6ce78a4
Thread: fix promise set_at_..._thread_exit; Added preconditions.
...
[SVN r84678]
2013-06-07 19:03:49 +00:00
Vicente J. Botet Escriba
5a1a9df623
Thread: fix shared_future::get when the shared state is async; refactor the shared_state classes.
...
[SVN r84607]
2013-06-02 05:56:13 +00:00
Vicente J. Botet Escriba
a6f67e25e3
Thread: fix packaged_task<void()> issue and add tests.
...
[SVN r84597]
2013-06-01 14:27:16 +00:00
Vicente J. Botet Escriba
b69ec54695
Thread: continue the future.hpp renaming using shared_state.
...
[SVN r84590]
2013-06-01 07:05:35 +00:00
Vicente J. Botet Escriba
dc8449bd0e
Thread: Added shared_future::then.
...
[SVN r84541]
2013-05-28 20:25:34 +00:00
Vicente J. Botet Escriba
d3a6277714
Thread: Reintroduce BOOST_VERIFY on pthread_mutex_destroy return type #8626 .
...
[SVN r84540]
2013-05-28 20:06:51 +00:00
Vicente J. Botet Escriba
5a43d5ffe9
Thread: fix copy_exception ambiguity.
...
[SVN r84520]
2013-05-26 21:26:25 +00:00
Vicente J. Botet Escriba
c628e51e6c
Thread: little refactoring on future.hpp; Added make_ready_future.
...
[SVN r84493]
2013-05-25 12:44:43 +00:00
Vicente J. Botet Escriba
9e07202e21
Thread: rename internal future_object class by shared_state.
...
[SVN r84474]
2013-05-25 06:36:37 +00:00
Vicente J. Botet Escriba
4cf80c6685
Thread: update latch to use generation to prevent spurious wake-ups.
...
[SVN r84421]
2013-05-22 17:18:23 +00:00
Vicente J. Botet Escriba
294a5404c2
Thread: fix inspection issues
...
[SVN r84418]
2013-05-22 17:09:49 +00:00
Vicente J. Botet Escriba
6d01267030
Thread: manage with #8596 .
...
[SVN r84414]
2013-05-22 05:40:58 +00:00
Vicente J. Botet Escriba
1c48d237a8
Thread: fix sur parolle.
...
[SVN r84331]
2013-05-17 19:24:19 +00:00
Vicente J. Botet Escriba
9d10bd035a
Thread: fix inspection report.
...
[SVN r84329]
2013-05-17 19:20:45 +00:00
Vicente J. Botet Escriba
d8a9331464
Thread: Rollback unwanted and unchecked change
...
[SVN r84138]
2013-05-04 16:03:48 +00:00
Vicente J. Botet Escriba
b60968b045
Thread: remove definition of BOOST_THREAD_NOEXCEPT_OR_THROW.
...
[SVN r84134]
2013-05-04 09:05:11 +00:00
Vicente J. Botet Escriba
da41bdb632
Thread: update externally_locked.
...
[SVN r84110]
2013-05-02 15:42:12 +00:00
Vicente J. Botet Escriba
5fcfd0e4e8
Thread: update the externally_locked_stream interface.
...
[SVN r84109]
2013-05-02 15:32:29 +00:00
Vicente J. Botet Escriba
2d2d1112d6
Thread: replace boost:tuple in async_func.hpp as not movable until the patch is applied.
...
[SVN r84098]
2013-05-01 09:19:18 +00:00
Vicente J. Botet Escriba
757327ba10
Thread: apply patch for #8530 .
...
[SVN r84096]
2013-05-01 08:18:03 +00:00
Vicente J. Botet Escriba
5779f6676d
Thread: update externally_locked with assignment.
...
[SVN r84076]
2013-04-28 20:12:28 +00:00
Vicente J. Botet Escriba
b359424858
Thread: refactor latch by adding an internal counter that has an associated condition_variable and add doc.
...
[SVN r84075]
2013-04-28 20:09:50 +00:00
Vicente J. Botet Escriba
83167d8c15
Thread: make barrier not copyable.
...
[SVN r84064]
2013-04-28 12:10:24 +00:00
Vicente J. Botet Escriba
7d2270f8c8
Thread: try to fix time based functions.
...
[SVN r84056]
2013-04-27 14:39:45 +00:00
Vicente J. Botet Escriba
f87dbb83b1
Thread: Added latch and completion_latch classes.
...
[SVN r84055]
2013-04-27 06:51:18 +00:00
Vicente J. Botet Escriba
d42f4ff169
Thread: re-apply the change to invoke as it works for gcc but not for msvc.
...
[SVN r84004]
2013-04-21 15:32:16 +00:00
Vicente J. Botet Escriba
f5e246ebb0
Thread: rollback comments on invoke as there is a regression on msvc.
...
[SVN r83988]
2013-04-20 16:31:10 +00:00
Vicente J. Botet Escriba
467a88c4f8
Thread: make use of _POSIX_TIMEOUTS instead of _POSIX_C_SOURCE on the definition BOOST_PTHREAD_HAS_TIMEDLOCK #8443 .
...
[SVN r83962]
2013-04-18 21:34:32 +00:00
Vicente J. Botet Escriba
ecd97ec4ea
Thread: make invoke/async_tuple/tuple_indices more portable.
...
[SVN r83950]
2013-04-18 06:44:09 +00:00
Vicente J. Botet Escriba
c71882816c
Thread: add missing joinable in scoped_thread #8451 + construction from F, Args.
...
[SVN r83949]
2013-04-18 06:43:19 +00:00
Vicente J. Botet Escriba
ef5d43fac9
Thread: make unnifor definition of BOOST_PTHREAD_HAS_TIMEDLOCK #8443 .
...
[SVN r83948]
2013-04-18 06:41:42 +00:00
Vicente J. Botet Escriba
3e64214e68
Thread: Added Move traits include file.
...
[SVN r83906]
2013-04-14 21:34:09 +00:00
Vicente J. Botet Escriba
ed4f0f7b6d
Thread: apply patch for #6843 .
...
[SVN r83904]
2013-04-14 21:29:02 +00:00
Vicente J. Botet Escriba
50c18d6274
Detail: Added undef/redef atomic intel macros #6842/#6843.
...
[SVN r83903]
2013-04-14 21:23:39 +00:00
Vicente J. Botet Escriba
d5cf734a21
Thread: remove noexcept on operations that can unlock the mutex.
...
[SVN r83902]
2013-04-14 20:31:40 +00:00
Vicente J. Botet Escriba
06d2a11127
Thread: rollback BOOST_THREAD_PROVIDES_ONCE_CXX11 define. Force minwg to use BOOST_THREAD_USE_LIB.
...
[SVN r83796]
2013-04-07 19:01:22 +00:00
Vicente J. Botet Escriba
528fcbde56
Thread: major rewrite of future::then.
...
[SVN r83676]
2013-04-01 16:17:05 +00:00
Vicente J. Botet Escriba
a0397315b2
Thread: minor update in future.hpp to rework future::then.
...
[SVN r83672]
2013-04-01 07:41:32 +00:00
Vicente J. Botet Escriba
a543b918f0
Thread: check for time_points in the past on try_join_until to take care of #8323 .
...
[SVN r83652]
2013-03-30 18:28:29 +00:00
Vicente J. Botet Escriba
619ddf54b9
Thread: remove what() function from future_error to take care of #8337 .
...
[SVN r83649]
2013-03-30 14:36:41 +00:00
Vicente J. Botet Escriba
116c947af9
Thread: replace wait_and_ope by ope in sync_queues and pop by pull.
...
[SVN r83648]
2013-03-30 14:33:42 +00:00
Vicente J. Botet Escriba
79e1e88f2e
Thread: more refactoring on pthread/shared_mutex.hpp.
...
[SVN r83553]
2013-03-24 23:45:33 +00:00
Vicente J. Botet Escriba
af3b5f3227
Thread: limit dependency on boost/thread/thread.hpp.
...
[SVN r83552]
2013-03-24 22:05:50 +00:00
Vicente J. Botet Escriba
19bd0d5eba
Thread: Added first version of sync_queue.
...
[SVN r83547]
2013-03-24 18:29:03 +00:00
Vicente J. Botet Escriba
f922fa56e4
Thread: Added assertions on pthread/shared_mutex.hpp; fixed two shared_mutex tests that were wrong.
...
[SVN r83546]
2013-03-24 17:18:21 +00:00
Vicente J. Botet Escriba
290faf192d
Thread: Added first version of sync_bounded_queue.
...
[SVN r83538]
2013-03-24 12:24:22 +00:00
Vicente J. Botet Escriba
df7fbe085a
Thread: Added constexpr to future default constructor; protect code incompatible with MSVC8.
...
[SVN r83521]
2013-03-22 21:50:20 +00:00
Vicente J. Botet Escriba
c9c46e87b5
Thread: Adapt win32/once.hpp to last changes to invoke..
...
[SVN r83471]
2013-03-17 08:07:40 +00:00
Vicente J. Botet Escriba
d4e6332eca
Thread: add invoke when no variadic templates are available; adapt call_once.
...
[SVN r83466]
2013-03-16 15:36:21 +00:00
Vicente J. Botet Escriba
80594adcbb
Thread: fixed some typos on win32/once.hpp and made use bind when there are some arguments and specialize the algorithm when there are no parameters to avoid errors with bind.
...
[SVN r83465]
2013-03-16 15:35:10 +00:00
Vicente J. Botet Escriba
4ea14fb9da
Thread: rollback one of the changes in [83425].
...
[SVN r83456]
2013-03-16 08:32:22 +00:00
Vicente J. Botet Escriba
5a22af7639
Thread: force BOOST_THREAD_USES_DATETIME on windows #8198 .
...
[SVN r83426]
2013-03-14 17:23:05 +00:00
Vicente J. Botet Escriba
7b157ab5f4
Thread: Apply patch for #8212 .
...
[SVN r83425]
2013-03-14 17:19:59 +00:00
Vicente J. Botet Escriba
a73425eb00
Thread: use invoke/bind whenever there is atleast one parameter on call_once.
...
[SVN r83422]
2013-03-13 23:01:49 +00:00
Vicente J. Botet Escriba
b254afc229
Thread: use Boost/Move in invoke.
...
[SVN r83421]
2013-03-13 22:58:12 +00:00
Vicente J. Botet Escriba
c784369f76
Thread: try to fix call_once for MSVC 8.0,9.0
...
[SVN r83400]
2013-03-10 17:36:40 +00:00
Vicente J. Botet Escriba
0b7462c4f2
Thread: notify win32/shared_mutex when setting new_state.exclusive_waiting_blocked=false;
...
[SVN r83397]
2013-03-10 15:17:50 +00:00
Vicente J. Botet Escriba
23ff6e0120
Thread: Added noexcep to some synchronized_value constructors + doc.
...
[SVN r83396]
2013-03-10 14:54:59 +00:00
Vicente J. Botet Escriba
06491889ea
Thread: Try workaround for #8212 .
...
[SVN r83370]
2013-03-09 16:00:22 +00:00
Vicente J. Botet Escriba
abf441ee63
Thread: try to fix double definition of GetTickCount64.
...
[SVN r83318]
2013-03-05 18:57:34 +00:00
Vicente J. Botet Escriba
44b741e445
Thread: make use of _WIN32_WINNT instead of WINNT.
...
[SVN r83294]
2013-03-04 17:52:49 +00:00
Vicente J. Botet Escriba
fc177914e1
Thread: take care of #8136
...
[SVN r83282]
2013-03-03 14:07:28 +00:00
Vicente J. Botet Escriba
d0056e0cc8
Thread: fix typo on synchronized_value.hp and initialize id_ on testable_mutex.
...
[SVN r83281]
2013-03-03 13:56:40 +00:00
Vicente J. Botet Escriba
1eacb8c71d
Thread: Added comments to synchronized_value + synchronize free function
...
[SVN r83265]
2013-03-03 11:01:07 +00:00
Vicente J. Botet Escriba
7476f71af6
Thread: go towards testable_mutex
...
[SVN r83264]
2013-03-03 10:55:13 +00:00
Vicente J. Botet Escriba
7e35a60650
Thread: remove warning
...
[SVN r83259]
2013-03-03 09:50:26 +00:00
Vicente J. Botet Escriba
2b5bd7275e
Thread: Make use of GetTickCount64 when available
...
[SVN r83258]
2013-03-03 09:45:48 +00:00
Vicente J. Botet Escriba
ca37d07184
Thread: Added value semantics to synchronized value
...
[SVN r83086]
2013-02-22 17:42:44 +00:00
Vicente J. Botet Escriba
0a101e15d1
Thread: commit proposed patch for #7720 .
...
[SVN r82973]
2013-02-18 12:11:09 +00:00
Vicente J. Botet Escriba
7277a94411
Thread: refactor may_alias on once_atomic.hpp.
...
[SVN r82951]
2013-02-17 15:04:06 +00:00
Vicente J. Botet Escriba
b9e2d7b13d
Thread: prepare for HH shared_mutex.
...
[SVN r82946]
2013-02-17 10:11:46 +00:00
Hartmut Kaiser
579501d98e
Thread: Fixing annoying Windows compilation warning
...
[SVN r82943]
2013-02-17 04:44:05 +00:00
Vicente J. Botet Escriba
21b2bbc8ca
Thread: make use of atomic on the header of once_atomic to avoid not needed cast that report some warnings.
...
[SVN r82905]
2013-02-15 17:05:49 +00:00
Vicente J. Botet Escriba
bd9105a104
Thread: try to fix some vacpp errors on regression tests.
...
[SVN r82861]
2013-02-13 22:01:33 +00:00
Anthony Williams
1dad495280
Modify mark_waiting_and_try_lock to return modified count if mutex already locked
...
[SVN r82828]
2013-02-12 08:21:40 +00:00
Vicente J. Botet Escriba
247e9a4f09
Thread: Fixed null_mutex initialization + added tests some tests.
...
[SVN r82823]
2013-02-11 18:43:33 +00:00
Vicente J. Botet Escriba
d030dbd61c
Thread: fix some issues with futures of MoveOnly types + complete the variadic async function.
...
[SVN r82808]
2013-02-10 18:14:49 +00:00
Vicente J. Botet Escriba
bebd56ee21
Thread: fix synchronized_value move constructor.
...
[SVN r82795]
2013-02-09 14:05:55 +00:00
Vicente J. Botet Escriba
75586eec0e
Thread: manage #7980
...
[SVN r82777]
2013-02-07 18:43:50 +00:00
Vicente J. Botet Escriba
8e63c72867
Thread: Added timed_lock functions to HH shared_mutex implementation so that we can replace the current shared_mutex by the HH one.
...
[SVN r82762]
2013-02-06 17:57:16 +00:00
Vicente J. Botet Escriba
65416bb8b6
Thread: make the pthread binary to don't depend on shared_mutex.hpp + #7982
...
[SVN r82757]
2013-02-06 06:40:30 +00:00
Vicente J. Botet Escriba
71a647b66b
Thread: make shared_mutext HH implementation header-only.
...
[SVN r82746]
2013-02-04 20:22:13 +00:00
Vicente J. Botet Escriba
4acfe0975c
Thread: Update win32/once.hpp to take care of variadin rvalu call_once parameters.
...
[SVN r82648]
2013-01-27 21:28:59 +00:00
Vicente J. Botet Escriba
0fc69c4d9e
Thread: update H.Hinnant implementation to make it work on Windows.
...
[SVN r82646]
2013-01-27 21:22:58 +00:00
Vicente J. Botet Escriba
6f2decdacf
Thread: added shred mutex impl based on H. Hinnant one
...
[SVN r82638]
2013-01-27 17:55:00 +00:00
Vicente J. Botet Escriba
a16f508b8a
Thread: Added two more test cases for call_once for thread I/F.
...
[SVN r82624]
2013-01-26 16:20:05 +00:00
Vicente J. Botet Escriba
b389079417
Thread: improve call_once using invoke/bind and rvalue references
...
[SVN r82566]
2013-01-20 17:06:33 +00:00
Vicente J. Botet Escriba
951c8952ff
Thread: Added variadic call_once for windows
...
[SVN r82543]
2013-01-18 22:36:28 +00:00
Vicente J. Botet Escriba
f4a3d52654
Thread: fix call_once when atomic is not used.
...
[SVN r82530]
2013-01-18 07:18:55 +00:00
Vicente J. Botet Escriba
517e177d7a
Thread: minor changes to fix PGI compiler adding lib atomic
...
[SVN r82529]
2013-01-17 21:09:55 +00:00
Vicente J. Botet Escriba
e72184e9ee
Thread: Added atomic once implementation + variadi call_once for pthread
...
[SVN r82513]
2013-01-16 21:49:59 +00:00
Vicente J. Botet Escriba
73348d69d2
Thread: added specific macros to state if some lock factories are not provided
...
[SVN r82471]
2013-01-12 22:21:58 +00:00
Vicente J. Botet Escriba
dd70cd5b40
Thread: change text associated to exceptions #7882 .
...
[SVN r82457]
2013-01-12 09:05:55 +00:00
Vicente J. Botet Escriba
b290f995d0
Thread: try to remove warning for #7874
...
[SVN r82456]
2013-01-12 09:03:19 +00:00
Vicente J. Botet Escriba
a0071b301b
Thread: Added BOOST_THREAD_NO_CXX11_HDR_TUPLE to wrokarround msvc 10.0 behavior providing <tuple> without move semantics
...
[SVN r82410]
2013-01-08 22:00:02 +00:00
Vicente J. Botet Escriba
c77281f724
Thread: make the mutex type of externally_locked_stream a template parameter. Polymorfic recursive mutex will be needed if the stream mutex map needs to be external.
...
[SVN r82397]
2013-01-08 01:28:28 +00:00
Vicente J. Botet Escriba
8a0578c93c
Thread: improve external lock for externally_locked_stream.
...
[SVN r82392]
2013-01-07 23:13:43 +00:00
Vicente J. Botet Escriba
85792f9946
Thread: try to see if this solves some vacpp issues
...
[SVN r82368]
2013-01-05 22:55:50 +00:00
Vicente J. Botet Escriba
e0d4e63e48
Thread: constraint make_unique_locks when BOOST_NO_CXX11_RVALUE_REFERENCES is not defined
...
[SVN r82367]
2013-01-05 22:54:55 +00:00
Vicente J. Botet Escriba
b2bd9f4ca9
Thread: fix typo in make_unique_locks without ariadic templates
...
[SVN r82342]
2013-01-03 22:10:34 +00:00
Vicente J. Botet Escriba
189356680b
Thread: make use of BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX.
...
[SVN r82329]
2013-01-03 11:19:14 +00:00
Vicente J. Botet Escriba
0e0cd2c950
Thread: complete externally_locked_stream.
...
[SVN r82318]
2013-01-02 14:14:03 +00:00
Vicente J. Botet Escriba
4b1c13e5cb
Thread: replace BOOST_NO_CXX11_HDR_INITIALIZER_LIST by specific BOOST_THREAD_NO_CXX11_HDR_INITIALIZER_LIST that takes in account that gcc up to 4.6 doens't supports it as expected
...
[SVN r82311]
2013-01-02 00:04:33 +00:00
Vicente J. Botet Escriba
f3777b9306
Thread: extend the workaround on intel compilers up to version 13.0
...
[SVN r82308]
2013-01-01 10:01:56 +00:00
Vicente J. Botet Escriba
a50176c259
Thread: rollback default version 3 change.
...
[SVN r82302]
2012-12-31 15:10:17 +00:00
Vicente J. Botet Escriba
94e524a1e6
Thread: Fix condition_variable/any::wait_for pred with boost::move
...
[SVN r82301]
2012-12-31 14:49:41 +00:00
Vicente J. Botet Escriba
cb3259b23f
Thread: fix issue with wait_for predicate
...
[SVN r82299]
2012-12-31 12:42:32 +00:00
Vicente J. Botet Escriba
ec811d3c4a
Thread: change resource_deadlock_would_occur from precondition to exception.
...
[SVN r82298]
2012-12-31 10:03:55 +00:00
Vicente J. Botet Escriba
4b71ef9354
Thread: Added noexcept to scoped_thread
...
[SVN r82296]
2012-12-31 09:57:10 +00:00
Vicente J. Botet Escriba
6675f4645f
Thread: #7422 : don't use internal_mutex when interruptions not enabled
...
[SVN r82094]
2012-12-19 10:50:23 +00:00
Vicente J. Botet Escriba
e0ed1d6d61
Thread: make set_wait_callback thread-safe.
...
[SVN r81975]
2012-12-15 17:44:38 +00:00
Vicente J. Botet Escriba
f8b1287153
Thread: workaroun for clang-2.8
...
[SVN r81968]
2012-12-15 13:13:37 +00:00
Vicente J. Botet Escriba
5ed50d68f2
Thread: replace BOOST_SYSTEM_NOEXCEPT by BOOST_NOEXCEPT
...
[SVN r81963]
2012-12-14 23:58:46 +00:00
Vicente J. Botet Escriba
c8edd6c795
Thread: minor refactorings
...
[SVN r81842]
2012-12-10 22:02:16 +00:00
Vicente J. Botet Escriba
2b8930a5bf
System/FileSystem/Asio/Thread: ref #7278 Added noexcept to Boost.System to conform with C++11
...
[SVN r81808]
2012-12-09 14:47:39 +00:00
Vicente J. Botet Escriba
7c89563108
Thread: Fix comments -use instead BOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED
...
[SVN r81804]
2012-12-09 10:52:34 +00:00
Vicente J. Botet Escriba
4209dfaa7f
Thread: Added make_strict_lock.
...
[SVN r81784]
2012-12-08 08:15:49 +00:00
Vicente J. Botet Escriba
0fac7be5b9
Thread: rename _synchronizer as _lock_ptr, and move them outside of synchronized_value so that they can be used in other contexts + update and show usage of unique_lock_ptr.
...
[SVN r81779]
2012-12-07 23:45:09 +00:00
Vicente J. Botet Escriba
0936913bf6
Thread: Added tests for strict_lock, nested_strict_lock
...
[SVN r81753]
2012-12-07 07:48:36 +00:00
Vicente J. Botet Escriba
03ebc320f1
Thread: set default version to 3
...
[SVN r81704]
2012-12-04 16:32:33 +00:00
Vicente J. Botet Escriba
ea11670593
Thread: fix strinct_synchronizer move error and update the example to be run on all compilers.
...
[SVN r81680]
2012-12-02 21:30:39 +00:00
Vicente J. Botet Escriba
6728fdb3b1
Thread: make synchronized_value use Boost.Move and add some value based operations
...
[SVN r81673]
2012-12-02 18:30:00 +00:00
Vicente J. Botet Escriba
580c1b7be4
Thread: fix some issues when BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS is defined and add tests
...
[SVN r81672]
2012-12-02 14:14:09 +00:00
Vicente J. Botet Escriba
03a43d09a4
Thread: update unique_synchronizer
...
[SVN r81659]
2012-12-01 22:47:10 +00:00
Vicente J. Botet Escriba
77a8c6667f
Thread: update sleep_for algo depending on whether BOOST_THREAD_SLEEP_FOR_IS_STEADY is defined or not
...
[SVN r81649]
2012-12-01 11:12:01 +00:00
Vicente J. Botet Escriba
81528d64d5
Thread: Added const_strict_synchronizer.
...
[SVN r81644]
2012-12-01 11:02:16 +00:00
Marshall Clow
e6b8a133a8
Removed missed usage of deprecated macros in Boost.Thread
...
[SVN r81593]
2012-11-27 17:26:10 +00:00
Vicente J. Botet Escriba
047ca43b72
Thread: don't use thread_data if no interruptions
...
[SVN r81583]
2012-11-26 22:58:00 +00:00
Vicente J. Botet Escriba
3c6509184a
Thread: improve is_convertible workaround to take care bug for of gcc-4.4 and intel 10.1
...
[SVN r81534]
2012-11-25 18:38:42 +00:00
Vicente J. Botet Escriba
ec1ce4cf98
Thread: improve is_convertible workaround to take care bug for of gcc-4.4 and intel 10.1
...
[SVN r81533]
2012-11-25 18:30:19 +00:00
Vicente J. Botet Escriba
526478338d
Thread: update log so that we can choose to don't use the this_thread::get_id.
...
[SVN r81532]
2012-11-25 18:27:06 +00:00
Vicente J. Botet Escriba
f49e6e8dc3
Thread: fix conversion when sizeof(intmax_t)>sizeof(ts.tv_sec).
...
[SVN r81531]
2012-11-25 18:25:35 +00:00
Vicente J. Botet Escriba
186d58eef7
Thread: update docs and some licenses
...
[SVN r81525]
2012-11-25 08:19:40 +00:00
Vicente J. Botet Escriba
d2bbc1b7c1
Thread: fix error introduced by 81514
...
[SVN r81522]
2012-11-24 21:33:11 +00:00
Ion Gaztañaga
2a503b5c81
Replace undocumented Boost.Move usage with new official Boost.Move utilities.
...
[SVN r81514]
2012-11-24 20:51:32 +00:00
Vicente J. Botet Escriba
a25b918a67
Thread: Added unique lock factories
...
[SVN r81508]
2012-11-24 16:24:27 +00:00
Vicente J. Botet Escriba
821376f552
Thread: Added make_lock_guard
...
[SVN r81506]
2012-11-24 12:36:46 +00:00
Vicente J. Botet Escriba
0663b30528
Thread: added internal thread-safe log utility
...
[SVN r81504]
2012-11-24 07:20:21 +00:00
Vicente J. Botet Escriba
37b0eb2c48
Thread: update is_convertible workaround to try to avoid a regression on intel.12.0
...
[SVN r81503]
2012-11-24 07:07:48 +00:00
Vicente J. Botet Escriba
de0272abcf
Thread: patch #7716
...
[SVN r81490]
2012-11-23 06:29:30 +00:00
Vicente J. Botet Escriba
cfc3634108
Thread: format text
...
[SVN r81489]
2012-11-23 06:26:30 +00:00
Vicente J. Botet Escriba
1c62b1599d
Thread: manage with #7575 for c++11 compliant compilers + try to fix issue with is_convertible on gcc-4.4.
...
[SVN r81410]
2012-11-18 10:09:12 +00:00
Vicente J. Botet Escriba
1d2ec17d52
Thread: Towards removing DateTime dependency on the library binary file.
...
[SVN r81398]
2012-11-17 13:46:49 +00:00
Vicente J. Botet Escriba
0d9e8a0c3c
Thread: Towards removing DateTime dependency on the library binary file.
...
[SVN r81383]
2012-11-17 09:00:16 +00:00
Vicente J. Botet Escriba
9b28bb59c9
Thread: refactor time related conversions + move datetime deprecation to version 4
...
[SVN r81381]
2012-11-17 07:50:56 +00:00
Vicente J. Botet Escriba
0fce559711
Thread: towards future<>::then(launch, ...
...
[SVN r81291]
2012-11-11 01:05:55 +00:00
Vicente J. Botet Escriba
de191d213e
Thread: deprecate BOOST_THREAD_USES_DATETIME only since version 4.
...
[SVN r81290]
2012-11-11 01:04:47 +00:00
Vicente J. Botet Escriba
ae89c307bf
Thread: ref #7669
...
[SVN r81289]
2012-11-11 00:57:07 +00:00
Vicente J. Botet Escriba
1b67c83359
Thread: set default version to 2
...
[SVN r81283]
2012-11-10 10:34:42 +00:00
Vicente J. Botet Escriba
0cd8326f21
Thread: deprecate nested scoped locks and DateTime based timed fuctions
...
[SVN r81279]
2012-11-10 10:25:33 +00:00
Vicente J. Botet Escriba
5c5c818bc5
Thread: manage with ref #7668
...
[SVN r81270]
2012-11-09 20:26:42 +00:00
Vicente J. Botet Escriba
124b99b2a4
Thread: Added missing include
...
[SVN r81264]
2012-11-09 16:56:36 +00:00
Vicente J. Botet Escriba
1cabac151a
Thread: fix typo.
...
[SVN r81263]
2012-11-09 16:46:47 +00:00
Vicente J. Botet Escriba
df48b734a2
Thread: rollback to manage with #7657
...
[SVN r81254]
2012-11-08 20:26:32 +00:00
Vicente J. Botet Escriba
004e8a4fcf
Thread: Added packaged_task::make_ready_at_thread_exit
...
[SVN r81205]
2012-11-05 17:41:09 +00:00
Vicente J. Botet Escriba
d8f8acbe38
Thread: cleanup + moving lockable traits specializations to the specific files.
...
[SVN r81175]
2012-11-04 20:37:25 +00:00
Vicente J. Botet Escriba
315af061cd
Thread: Added promise::set_..._at_thread_exit
...
[SVN r81172]
2012-11-04 16:47:02 +00:00
Vicente J. Botet Escriba
18491c933d
Thread added missing file
...
[SVN r81155]
2012-11-03 00:58:25 +00:00
Vicente J. Botet Escriba
d01c0232da
Thread: Added asynch deferred on a specifc configuration+ prepare the work for async futures joining the producer thread
...
[SVN r81152]
2012-11-02 21:30:36 +00:00
Vicente J. Botet Escriba
91e32e3f02
Thread: extract invoke and make_tuple_indeces on specific files+change the condition to BOOST_NO_CXX11_DECLTYPE_N3276+ fix a warning when BOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED is not defined
...
[SVN r81145]
2012-11-02 07:31:19 +00:00
Vicente J. Botet Escriba
88294f4161
Thread: Add the function pointer overloads with MSVC even if it supports rvalue references.
...
[SVN r81136]
2012-11-01 21:49:20 +00:00
Vicente J. Botet Escriba
9cdc23159a
Thread: rollaback unintended default version change
...
[SVN r81132]
2012-11-01 09:52:13 +00:00
Vicente J. Botet Escriba
45c87d392f
Thread: Refactor futures by adding a basic_future common class + added some tests for shared_future
...
[SVN r81129]
2012-10-31 21:16:00 +00:00
Vicente J. Botet Escriba
1c0a4999b8
Thread: rework async and packaged task.
...
[SVN r81117]
2012-10-31 01:37:57 +00:00
Vicente J. Botet Escriba
30bfc7bcea
Thread: remove some rvalue-references limitations for future::then and make_shared.
...
[SVN r81111]
2012-10-30 09:36:22 +00:00
Vicente J. Botet Escriba
48f8c1c1c8
Thread Split lock.hpp + towards allowing to disable interruptions
...
[SVN r81106]
2012-10-29 19:57:01 +00:00
Vicente J. Botet Escriba
a3d30b2a89
Thread: Added polymorphic lockables
...
[SVN r81104]
2012-10-29 19:13:32 +00:00
Vicente J. Botet Escriba
fb4b4fb14a
Thread: Added externally_locked_stream
...
[SVN r81102]
2012-10-29 19:09:28 +00:00
Vicente J. Botet Escriba
708b660c0b
Thread: change strict_lock is_locking by own_lock and update lockable concepts
...
[SVN r81100]
2012-10-29 19:05:35 +00:00
Vicente J. Botet Escriba
095da2890e
Thread: deprecate boost::condition
...
[SVN r81090]
2012-10-29 01:27:53 +00:00
Vicente J. Botet Escriba
493cbc030c
Thread: Added testable_mutex
...
[SVN r81088]
2012-10-29 01:12:57 +00:00
Vicente J. Botet Escriba
2f7b936cd6
Thread: Added externally_locked
...
[SVN r81087]
2012-10-29 01:09:58 +00:00
Vicente J. Botet Escriba
32f7b212bd
Thread: Added strict locks
...
[SVN r81084]
2012-10-29 01:03:31 +00:00
Vicente J. Botet Escriba
4fcdabca90
Thread: Added lockable concept checkers
...
[SVN r81083]
2012-10-29 00:59:57 +00:00
Vicente J. Botet Escriba
b03de37155
Thread: Added files needed to split locks.hpp in several files to limit depedencies
...
[SVN r81082]
2012-10-29 00:55:31 +00:00
Vicente J. Botet Escriba
73af713503
Thread: Added null_mutex
...
[SVN r81081]
2012-10-29 00:50:53 +00:00
Vicente J. Botet Escriba
a903532cef
Thread: make use of the extracted thread functiors and added default constructor
...
[SVN r81080]
2012-10-29 00:39:59 +00:00
Vicente J. Botet Escriba
d6178b3139
Thread: update thread_guard to make it a template parameterized by thread functors
...
[SVN r81079]
2012-10-29 00:36:06 +00:00
Vicente J. Botet Escriba
ec1241a6d8
Thread: Added thread_joiner
...
[SVN r81074]
2012-10-28 17:55:32 +00:00
Vicente J. Botet Escriba
ae819901ab
Thread: Added scoped_thread
...
[SVN r81073]
2012-10-28 17:53:42 +00:00
Vicente J. Botet Escriba
3c0294cf3a
Thread: added first version of synchronized_value
...
[SVN r81072]
2012-10-28 17:43:40 +00:00
Vicente J. Botet Escriba
21bc767445
Thread: remove include iostream
...
[SVN r81034]
2012-10-21 09:26:58 +00:00
Vicente J. Botet Escriba
47b6368ef7
Thread: merge 81024
...
[SVN r81032]
2012-10-21 06:37:51 +00:00
Vicente J. Botet Escriba
a3098b5dfd
Thread: Added BOOST_THREAD_DONT_PROVIDE_THREAD_EQ, BOOST_THREAD_DONT_USE_DATETIME and forbid their use when defined + Added BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION and future<>::then + Go towards don't throwing from the cpp files (refactor start_thread, join + Added #define BOOST_THREAD_VERSION 2 for the tests that runs only with version 2
...
[SVN r81023]
2012-10-20 14:05:32 +00:00
Vicente J. Botet Escriba
bd69c9382f
Thread: ref #7461
...
[SVN r80986]
2012-10-14 16:32:41 +00:00
Vicente J. Botet Escriba
b47f43df59
Thread: Rollback SIG_ATOMIC_MAX change for once.hpp. ref #7499
...
[SVN r80966]
2012-10-12 00:01:30 +00:00
Vicente J. Botet Escriba
6741c8420a
Thread: define BOOST_THREAD_PLATFORM_PTHREAD also in windows and restrict it BOOST_NO_SFINAE_EXPR is not defined
...
[SVN r80853]
2012-10-04 21:55:03 +00:00
Vicente J. Botet Escriba
fe45847841
Thread: remove warning
...
[SVN r80848]
2012-10-04 17:09:22 +00:00
Vicente J. Botet Escriba
e1f5fbdc33
Thread: fix typo introduced while making get_id inline on posix
...
[SVN r80845]
2012-10-04 16:50:46 +00:00
Vicente J. Botet Escriba
8604ca1b85
Thread: Fix bug with gcc4.4, prepare change to v3 by default
...
[SVN r80824]
2012-10-03 05:45:35 +00:00
Vicente J. Botet Escriba
74e2c4cbcb
Thread: Fixed cout access issue
...
[SVN r80821]
2012-10-02 21:11:29 +00:00
Vicente J. Botet Escriba
7b54159af3
Thread: Make use of BOOST_TRY family macros on win32 code
...
[SVN r80799]
2012-09-30 23:46:00 +00:00
Vicente J. Botet Escriba
26f4ad3db2
Thread: try to fix some issues with packaged_task with signature parameters
...
[SVN r80783]
2012-09-30 14:31:52 +00:00
Vicente J. Botet Escriba
715928e143
Thread: Allow BOOST_THREAD_PROVIDES_VARIADIC_THREAD only if BOOST_NO_CXX11_HDR_TUPLE is defined + remove some -ansi flags tha make EXPERIMENTAL_CXX0X to be not defined
...
[SVN r80766]
2012-09-29 23:35:29 +00:00
Hartmut Kaiser
40d694e893
Thread: adding inline keyword to avoid linker errors
...
[SVN r80765]
2012-09-29 21:42:36 +00:00
Vicente J. Botet Escriba
ab7bb7a82d
Thread: try to fix regression on test_once
...
[SVN r80759]
2012-09-29 18:22:21 +00:00
Vicente J. Botet Escriba
171be40a1f
Thread: rollback preceding change and apply patch spliting the assembles so that each instruction is on one line.
...
[SVN r80757]
2012-09-29 16:53:11 +00:00
Vicente J. Botet Escriba
dedaa7e617
Thread: version 4: Added variadic templates for packed_task cons, async, thread cons + added make_future + future::get() can be called just once
...
[SVN r80755]
2012-09-29 16:31:27 +00:00
Jürgen Hunold
6173ae42a9
Fix: C4251 warnings from msvc
...
Suppress those from the standard library.
Make handle_manager visible via BOOST_THREAD_DECL.
[SVN r80669]
2012-09-23 14:33:50 +00:00
Vicente J. Botet Escriba
792604127e
Thread: Added missing what() virtual function of future_error
...
[SVN r80594]
2012-09-19 00:16:08 +00:00
Vicente J. Botet Escriba
81d0aaf7bc
Thread: Added missing what() virtual function of future_error
...
[SVN r80593]
2012-09-18 23:10:51 +00:00
Vicente J. Botet Escriba
460a38b994
Thread: (posix) Make use of BOOST_TRY family macros
...
[SVN r80544]
2012-09-16 18:50:17 +00:00
Vicente J. Botet Escriba
b7622b7407
Thread: complete update for 7345 on windows.
...
[SVN r80475]
2012-09-09 19:26:47 +00:00
Vicente J. Botet Escriba
a56358c8f8
Thread: Apply patch for 6931.
...
[SVN r80474]
2012-09-09 19:25:03 +00:00
Vicente J. Botet Escriba
dafe4bea1a
Thread: force SIG_ATOMIC_MAX with __STDC_LIMIT_MACROS
...
[SVN r80466]
2012-09-09 14:48:18 +00:00
Vicente J. Botet Escriba
330502ea1e
Thread: Manage with statefull allocators and call destroy on the task object: #7349 and #7350
...
[SVN r80460]
2012-09-09 12:41:31 +00:00
Vicente J. Botet Escriba
662118b5c6
Thread: Remove BOOST_THREAD_DONT_USE_SYSTEM and update documentation to manage with 7336
...
[SVN r80459]
2012-09-09 12:35:37 +00:00
Vicente J. Botet Escriba
8bee2291fd
Thread: start adding noexcept to recursive_mutex::try_lock. Uncomment needed after checking on windows
...
[SVN r80449]
2012-09-08 14:18:43 +00:00
Vicente J. Botet Escriba
5e30d7486e
Thread: Try to fix move limitation on hpux: 7329
...
[SVN r80439]
2012-09-08 06:43:07 +00:00
Vicente J. Botet Escriba
71f864bc5c
Thread: Added notify_all_at_thread_exit+join can throw conditionally if not joinable + detach is no more noexcept
...
[SVN r80351]
2012-09-01 17:10:16 +00:00
Vicente J. Botet Escriba
b31c1a11d5
Thread: Avoid double definition of BOOST_THREAD_DONT_USE_CHRONO
...
[SVN r80342]
2012-08-31 23:27:20 +00:00
Vicente J. Botet Escriba
ca04d699bc
Thread:7280: Added noexcep to future_category
...
[SVN r80238]
2012-08-26 18:18:03 +00:00
Vicente J. Botet Escriba
530aaaae38
Thread: 7045: make boost_thread don't depend on boost_chrono for win and 2797: armonize win behavior with posix one.
...
[SVN r80236]
2012-08-26 15:17:39 +00:00
Vicente J. Botet Escriba
36970f3240
Thread: take care of #7272 warning removal
...
[SVN r80235]
2012-08-26 13:05:10 +00:00
Vicente J. Botet Escriba
7c97dc8131
Thread: take care of #7272 warning removal
...
[SVN r80203]
2012-08-25 13:21:21 +00:00
Vicente J. Botet Escriba
a01faf1bb8
Thread: fix win regression
...
[SVN r80134]
2012-08-22 06:12:46 +00:00
Vicente J. Botet Escriba
5fa5b680f0
Thread: remove dependency from boo_thread to boost_chrono
...
[SVN r80122]
2012-08-21 21:20:41 +00:00
Vicente J. Botet Escriba
d426d2ca88
Thread: try to fix 5752
...
[SVN r80078]
2012-08-18 14:43:06 +00:00
Vicente J. Botet Escriba
1f4df63577
Thread: manage with #5274
...
[SVN r80053]
2012-08-15 21:29:14 +00:00
Vicente J. Botet Escriba
1a1751b45d
Thread fix inspecion report errors
...
[SVN r80049]
2012-08-15 13:11:47 +00:00
Vicente J. Botet Escriba
0354c2fcc3
Thread: apply fix for 7220
...
[SVN r80041]
2012-08-15 09:59:32 +00:00
Vicente J. Botet Escriba
7de77cf13c
Thread: fixes for inspection report
...
[SVN r79985]
2012-08-12 18:33:11 +00:00
Vicente J. Botet Escriba
8334f4e68a
Thread: name type for pthread/once epoch so that we can choose better an /atomic/ type for it
...
[SVN r79984]
2012-08-12 18:31:09 +00:00
Vicente J. Botet Escriba
1ac7e7129d
Thread: refix 6174
...
[SVN r79980]
2012-08-12 16:36:40 +00:00
Vicente J. Botet Escriba
daec1268f9
Thread: Added async function
...
[SVN r79979]
2012-08-12 16:31:21 +00:00
Hartmut Kaiser
c47bd34760
Threads: fixing a bad preprocessor directive
...
[SVN r79782]
2012-07-28 14:06:27 +00:00
Andrey Semashev
0d9ebfc820
Fixed compilation when Boost.Chrono is disabled by user.
...
[SVN r79753]
2012-07-26 08:08:06 +00:00
Vicente J. Botet Escriba
2ea1aec7fd
Thread: cleanup no-exceptions on windows
...
[SVN r79383]
2012-07-09 16:46:01 +00:00
Vicente J. Botet Escriba
3c8f164371
Thread: no-exception cleanup
...
[SVN r79365]
2012-07-08 18:53:34 +00:00
Vicente J. Botet Escriba
b305cc29fc
Thread: Added some changes to make it work with BOOST_NO_EXCEPTIONS
...
[SVN r79347]
2012-07-08 09:33:13 +00:00
Vicente J. Botet Escriba
c2001fb9d2
Thread: changed assembler for interlocked_bit_test_and_set compatible hp
...
[SVN r79337]
2012-07-07 14:43:18 +00:00
Vicente J. Botet Escriba
d3a8321be0
Thread: remove warning wait_until
...
[SVN r79336]
2012-07-07 14:41:02 +00:00
Vicente J. Botet Escriba
19bbd85d9d
Thread: rollback bad workaround BOOST_THREAD_WAIT_BUG - 7089
...
[SVN r79327]
2012-07-07 10:20:39 +00:00
Vicente J. Botet Escriba
deca987299
Thread: Fix 7074
...
[SVN r79288]
2012-07-05 16:42:01 +00:00
Vicente J. Botet Escriba
1214f99227
Thread: apply patch in 7052
...
[SVN r79237]
2012-07-02 21:58:56 +00:00
Vicente J. Botet Escriba
e09105de98
Thread: fix TIME_UTC, WINVER, constexpr for tags, and don't use local files
...
[SVN r78802]
2012-06-03 18:11:52 +00:00
Dave Abrahams
1013ce68c1
Replace all uses of boost/utility.hpp with more-granular includes. Solves modularization dependency nightmare.
...
[SVN r78502]
2012-05-18 04:44:04 +00:00
Anthony Williams
7608db4b0e
Combine scoped enum emulation from thread library into detail/scoped_enum_emulation.hpp
...
[SVN r78407]
2012-05-10 17:06:15 +00:00
Anthony Williams
62f1c4b086
Reinstate abi prefix/suffix headers
...
[SVN r78399]
2012-05-10 07:30:41 +00:00
Vicente J. Botet Escriba
ab6864f3b4
Thread: try to fix ticket 6130 for linux systems
...
[SVN r78285]
2012-04-30 20:23:56 +00:00
Vicente J. Botet Escriba
b8bd80a5f4
Thread: Use NO_COPYABLE macro
...
[SVN r78280]
2012-04-30 16:06:04 +00:00
Vicente J. Botet Escriba
40b66a83f7
Thread: removed warning
...
[SVN r78254]
2012-04-29 14:27:43 +00:00
Vicente J. Botet Escriba
ceacda6c6a
Thread: Refactor the no-copyable classes using the macro BOOST_THREAD_NO_COPYABLE
...
[SVN r78240]
2012-04-28 12:25:28 +00:00
Vicente J. Botet Escriba
0a22ac9209
Thread: Add a workaround for the bug identified in ticket 6130 by adding some microseconds to the time to wait
...
[SVN r78239]
2012-04-28 12:24:08 +00:00
Vicente J. Botet Escriba
ba1d54d672
Thread: inhibit allocators on wince as there is a bug on Boost.Intrusive
...
[SVN r78226]
2012-04-28 00:08:53 +00:00
Vicente J. Botet Escriba
b5a18dc71a
Thread: Boost.Chrono seems to work on vacpp 11.1
...
[SVN r78225]
2012-04-27 23:29:01 +00:00
Vicente J. Botet Escriba
4a0141511d
Thread: Boost.Chrono seems to work on vacpp 11.1
...
[SVN r78224]
2012-04-27 23:08:24 +00:00
Vicente J. Botet Escriba
625db78abf
Thread: more move semantics refactoring cleanup
...
[SVN r78139]
2012-04-22 16:33:46 +00:00
Vicente J. Botet Escriba
b470ffdb56
Thread: Added macro BOOST_THREAD_DCL_MOVABLE to mask has_move_emulation_enabled_aux specialization
...
[SVN r78123]
2012-04-22 08:12:27 +00:00
Vicente J. Botet Escriba
78095afdbc
Thread: Fix issue with macro BOOST_THREAD_RV_REF and the use of templates as arguments, see with Sun compiler
...
[SVN r78086]
2012-04-19 22:19:52 +00:00
Vicente J. Botet Escriba
e83cdc6721
Thread: Change to version 3 and don't deprecate legacy time related functions, even if they are not part of the concepts since version 3
...
[SVN r78029]
2012-04-16 20:49:18 +00:00
Vicente J. Botet Escriba
7ba000fe45
Thread: Set by default to don't use Boost.Move
...
[SVN r77994]
2012-04-15 12:29:33 +00:00
Vicente J. Botet Escriba
cae6a36c19
Thread: fix some macros using old move emilation
...
[SVN r77985]
2012-04-15 09:55:25 +00:00
Vicente J. Botet Escriba
8549895373
Thread: Make use of the new macros to reduce the code duplication-IV
...
[SVN r77946]
2012-04-13 09:39:17 +00:00
Vicente J. Botet Escriba
efa907881e
Thread: Make use of the new macros to reduce the code duplication-III
...
[SVN r77941]
2012-04-12 22:59:23 +00:00
Vicente J. Botet Escriba
744cae8270
Thread: Make use of the new macros to reduce the code duplication
...
[SVN r77939]
2012-04-12 20:32:20 +00:00
Vicente J. Botet Escriba
28899243b1
Thread: symplify additonaly the conditional code + fix some spurious regression errors
...
[SVN r77933]
2012-04-12 11:12:23 +00:00
Vicente J. Botet Escriba
031186a8e6
Thread: Add some macros to simplify the conditional code in particular the one related to mmove semantics+ fix some minor regression issues
...
[SVN r77928]
2012-04-11 23:42:26 +00:00
Vicente J. Botet Escriba
f970c9fddc
Thread: remove some warnings + rename BOOST_EXPLICIT_MOVE by BOOST_THREAD_MAKE_RV_REF
...
[SVN r77918]
2012-04-11 17:16:45 +00:00
Vicente J. Botet Escriba
745e23f2c3
Thread: move specialization of uses_allocator
...
[SVN r77885]
2012-04-10 13:29:36 +00:00
Vicente J. Botet Escriba
b2790c6df5
Thread: Added pt test constructor from const functor + pt allocator ctor free fct+ cleanup of other tests
...
[SVN r77877]
2012-04-10 01:37:18 +00:00
Vicente J. Botet Escriba
ba955f003e
Thread: Fix packaged_task callable copy
...
[SVN r77875]
2012-04-10 00:14:12 +00:00
Vicente J. Botet Escriba
75e0ffbbce
Thread: rollback the last changes in packaged_task
...
[SVN r77870]
2012-04-09 23:21:16 +00:00
Vicente J. Botet Escriba
0e895a1e28
Thread: Added packaged_task::reste() + more tests
...
[SVN r77852]
2012-04-09 17:18:39 +00:00
Vicente J. Botet Escriba
011dda9816
Thread: Added packaged_task ctor allocator + result_type + Fix issue signaled on the ML with task_object(task_object const&) in presence of task_object(task_object &&)
...
[SVN r77845]
2012-04-08 23:51:07 +00:00
Vicente J. Botet Escriba
d75cda0cc3
Thread: Provided an alternative implementation for thread::id using pthread_t and Windows Thread Id
...
[SVN r77838]
2012-04-08 19:22:38 +00:00
Vicente J. Botet Escriba
a4c7f68320
Thread: Added needed header
...
[SVN r77836]
2012-04-08 18:57:07 +00:00
Vicente J. Botet Escriba
547431da0b
Thread: fix typo
...
[SVN r77825]
2012-04-08 07:57:32 +00:00
Vicente J. Botet Escriba
c3fdc098fe
Thread: Try to fix some failing tests on sun
...
[SVN r77806]
2012-04-07 07:59:23 +00:00
Vicente J. Botet Escriba
6ed276190d
Thread: rename macros and try to fix some failing sun test
...
[SVN r77789]
2012-04-05 22:39:22 +00:00
Vicente J. Botet Escriba
59265265d9
Thread: 6342: Adapt the one_flag and call_once to the c++11 interface
...
[SVN r77767]
2012-04-04 20:01:11 +00:00
Vicente J. Botet Escriba
fd97c6e7a7
Thread: Try to pass these test on Sun using BOOST_EXPLICIT_MOVE
...
[SVN r77754]
2012-04-04 15:15:11 +00:00
Vicente J. Botet Escriba
56bd079f96
Thread: Added call to terminate if joinable for #6266 and #6269
...
[SVN r77718]
2012-04-02 16:32:33 +00:00
Vicente J. Botet Escriba
08ed4c4201
Thread: Added shared mutex upwards conversion + configuration macros
...
[SVN r77704]
2012-04-01 21:52:47 +00:00
Vicente J. Botet Escriba
6e1a3f3c27
Thread: Added specific macros for futures and importing container specific into boost
...
[SVN r77687]
2012-04-01 15:51:18 +00:00
Vicente J. Botet Escriba
ec135b1b8e
Thread: Added missing file
...
[SVN r77684]
2012-04-01 09:14:50 +00:00
Vicente J. Botet Escriba
da8dc9f5aa
Thread: Add the possibility to use the more complete and generic implementation of shared_mutex in windows.
...
[SVN r77667]
2012-03-31 15:37:44 +00:00
Vicente J. Botet Escriba
27aa44acb5
Thread: Added promise allocator ctor + more tests
...
[SVN r77666]
2012-03-31 15:19:22 +00:00
Vicente J. Botet Escriba
ff1d051359
Thread: Added reverse_lock
...
[SVN r77662]
2012-03-31 08:39:21 +00:00
Vicente J. Botet Escriba
85e32534fa
Thread: Added shared_lock_guard
...
[SVN r77661]
2012-03-31 08:06:57 +00:00
Vicente J. Botet Escriba
3c3c6d5efe
Thread: Fix warning + added DEPRECATED tag
...
[SVN r77655]
2012-03-30 19:16:51 +00:00
Vicente J. Botet Escriba
f163054557
Thread: Added more noexcept
...
[SVN r77640]
2012-03-30 04:46:47 +00:00
Vicente J. Botet Escriba
fb80bea056
Thread: Disable The use of Boost.Thread for SunPro compiler
...
[SVN r77612]
2012-03-28 20:40:31 +00:00
Vicente J. Botet Escriba
abad5c3028
Thread: Added BOOST_EXPLICIT_MOVE
...
[SVN r77588]
2012-03-27 18:22:30 +00:00
Vicente J. Botet Escriba
06f5da7f5b
Thread: cleanup
...
[SVN r77550]
2012-03-25 21:25:20 +00:00
Vicente J. Botet Escriba
1e80ccb8d3
Thread: Protect uses of Boost.Chrono for compilers don't providing support for
...
[SVN r77460]
2012-03-21 21:05:26 +00:00
Vicente J. Botet Escriba
8ad34a689a
Thread: Fixed error on promise v2 + added tests (share)
...
[SVN r77443]
2012-03-20 23:49:31 +00:00
Vicente J. Botet Escriba
3abfbb8ba1
Thread: Added upgrade_mutex on windows
...
[SVN r77396]
2012-03-18 23:42:23 +00:00
Vicente J. Botet Escriba
99ad690382
Thread: Added Chrono related functions to exclusive lock+ upgrade_mutex typedef
...
[SVN r77393]
2012-03-18 22:49:24 +00:00
Vicente J. Botet Escriba
4301b21702
Thread: Added LOCK::move() member function when no RVALUE is available (Useful for Sun compiler to force move semantics) + possibility to have explicit lock conversions+chrono timed related unique_lock constructor from upgrade_lock
...
[SVN r77392]
2012-03-18 22:35:11 +00:00
Vicente J. Botet Escriba
fceab582fe
Thread: Added future/shared/future/promise/packaged_task::move() member function when no RVALUE is available (Useful for Sun compiler to force move semantics)
...
[SVN r77391]
2012-03-18 22:06:44 +00:00
Vicente J. Botet Escriba
14cea92e06
Thread: Added thread::move member function when BOOST_THREAD_USES_MOVE is defined (Useful for Sun compiler)
...
[SVN r77379]
2012-03-18 18:35:20 +00:00
Vicente J. Botet Escriba
5b01721440
Thread: Add time chrono related functions to shared_mutex(win) + activate tests
...
[SVN r77376]
2012-03-18 17:29:33 +00:00
Vicente J. Botet Escriba
aad2b35ac9
Thread: Fix bug on time related functions that should base the _for functions on the until_ ones
...
[SVN r77375]
2012-03-18 17:26:30 +00:00
Vicente J. Botet Escriba
f8371daeb8
Thread: Avoid some warnings as unused variable it and warning C4275: non dll-interface class 'std::logic_error' used as base for dll-interface class 'boost::future_error'
...
[SVN r77360]
2012-03-17 14:42:36 +00:00
Vicente J. Botet Escriba
c0bea158d4
Thread: Use of BOOST_ASSERT_MSG
...
[SVN r77330]
2012-03-14 06:39:07 +00:00
Vicente J. Botet Escriba
8ed82798d2
Thread: Fix #6673 and partial fix for 6671, 6672, 6675 which need to add the documentation and test
...
[SVN r77291]
2012-03-10 17:05:34 +00:00
Vicente J. Botet Escriba
ebfe10b7df
Thread: Fix error on pthread/shared_mutex.hpp try_lock_xxx_for, which should use the try_lock_xxx_until+fix #6674
...
[SVN r77290]
2012-03-10 17:01:27 +00:00
Vicente J. Botet Escriba
4aa26180ca
Thread: removed output to cout to fix 6612
...
[SVN r77224]
2012-03-04 20:56:42 +00:00
Vicente J. Botet Escriba
0351d59060
Thread: Added chrono i/f and improve move semantics for shared_mutex and shared_lock (pthread)
...
[SVN r77011]
2012-02-13 23:20:42 +00:00
Vicente J. Botet Escriba
dd5d687014
Thread: Added chrono i/f for shared_mutex pthread
...
[SVN r77003]
2012-02-12 22:38:59 +00:00
Vicente J. Botet Escriba
5d8b0891bd
Thread: Don't fail when native_handle is not defined
...
[SVN r76996]
2012-02-12 16:47:19 +00:00
Vicente J. Botet Escriba
7dc95f63d3
Thread: Move semantics cleanup
...
[SVN r76995]
2012-02-12 16:44:43 +00:00
Jürgen Hunold
a7adc5865b
Fix: correct logic for enabling c++11 explicit conversion operators
...
[SVN r76959]
2012-02-09 20:21:43 +00:00
Vicente J. Botet Escriba
b1cac0731c
Thread: Added explicit to operator bool for locks
...
[SVN r76951]
2012-02-08 21:32:05 +00:00
Vicente J. Botet Escriba
fc8de511c6
Thread: Added detail/scoped_enumm.hpp file and adaptat enum classes to the new interface
...
[SVN r76777]
2012-01-29 18:27:26 +00:00
Vicente J. Botet Escriba
b18314878a
Thread: try to make it possible to avoid the use of Boost.Chrono
...
[SVN r76570]
2012-01-18 00:13:17 +00:00
Vicente J. Botet Escriba
c67e3ff7b9
Thread: try to fix #6420 - Call to forward ambiguous
...
[SVN r76561]
2012-01-17 18:51:36 +00:00
Vicente J. Botet Escriba
3724d847cf
Thread: Try to fix #6419 - Error: PTHREAD_STACK_MIN is not always defined when PTHREADS are used
...
[SVN r76557]
2012-01-17 18:28:46 +00:00
Vicente J. Botet Escriba
b6063b5c60
* [@ http://svn.boost.org/trac/boost/ticket/2741 #2741 ] Proposal to manage portable and non portable thread attributes.
...
* [@http://svn.boost.org/trac/boost/ticket/6195 #6195 ] c++11 compliance: Provide the standard time related interface using Boost.Chrono.
* [@http://svn.boost.org/trac/boost/ticket/6224 #6224 ] c++11 compliance: Add the use of standard noexcept on compilers supporting them.
* [@http://svn.boost.org/trac/boost/ticket/6226 #6226 ] c++11 compliance: Add explicit bool conversion from locks.
* [@http://svn.boost.org/trac/boost/ticket/6230 #6230 ] c++11 compliance: Follows the exception reporting mechanism as defined in the c++11.
* [@http://svn.boost.org/trac/boost/ticket/6272 #6272 ] c++11 compliance: Add thread::id hash specialization.
* [@http://svn.boost.org/trac/boost/ticket/6273 #6273 ] c++11 compliance: Add cv_status enum class and use it on the conditions wait functions.
* [@http://svn.boost.org/trac/boost/ticket/6194 #6194 ] Adapt to Boost.Move.
Fixed Bugs:
* [@http://svn.boost.org/trac/boost/ticket/2575 #2575 ] Bug- Boost 1.36.0 on Itanium platform.
* [@http://svn.boost.org/trac/boost/ticket/4921 #4921 ] BOOST_THREAD_USE_DLL and BOOST_THREAD_USE_LIB are crucial and need to be documented.
* [@http://svn.boost.org/trac/boost/ticket/5013 #5013 ] documentation: boost:🧵 pthreas_exit causes terminate().
* [@http://svn.boost.org/trac/boost/ticket/5351 #5351 ] interrupt a future get boost::unknown_exception.
* [@http://svn.boost.org/trac/boost/ticket/5516 #5516 ] Upgrade lock is not acquired when previous upgrade lock releases if another read lock is present.
* [@http://svn.boost.org/trac/boost/ticket/5990 #5990 ] shared_future<T>::get() has wrong return type.
* [@http://svn.boost.org/trac/boost/ticket/6174 #6174 ] packaged_task doesn't correctly handle moving results.
[SVN r76543]
2012-01-16 17:32:08 +00:00
Vicente J. Botet Escriba
0d08362291
Thread: Added new v2 files
...
[SVN r76300]
2012-01-03 22:31:11 +00:00
Vicente J. Botet Escriba
5a7545afbd
Thread Towards #6273 - Add cv_status enum class and use it on the conditions wait functions
...
[SVN r76294]
2012-01-03 21:12:59 +00:00
Vicente J. Botet Escriba
97d0ae6527
Thread: #6141 - Compilation error when boost.thread and boost.move are used together
...
[SVN r76277]
2012-01-02 17:12:01 +00:00
Vicente J. Botet Escriba
50a74d0eda
Thread: Try to solve #6341 Boost.Thread defines boost::move which conflicts with Boost.Move
...
[SVN r76268]
2012-01-02 00:33:32 +00:00
Vicente J. Botet Escriba
f9e03b5eaa
Thread: Notify shread_cond when state.exclusive_waiting_blocked=false in shared_mutex::timed_lock to resolve #5502
...
[SVN r76084]
2011-12-20 21:13:22 +00:00
Vicente J. Botet Escriba
de8ef9aee4
Thread: reverse part of commit r76040 which breaks msvc-10.0
...
[SVN r76075]
2011-12-19 23:50:03 +00:00
Vicente J. Botet Escriba
233dbf8075
Thread: dont use thread_move_t when BOOST_NO_RVALUE_REFERENCES is not defined
...
[SVN r76073]
2011-12-19 23:20:31 +00:00
Vicente J. Botet Escriba
d8f1ba9b3d
Thread: added move definition when BOOST_NO_RVALUE_REFERENCES is not defined
...
[SVN r76040]
2011-12-18 14:34:09 +00:00
Vicente J. Botet Escriba
1241f18215
Thread: replace BOOST_HAS_RVALUE_REFS by BOOST_NO_RVALUE_REFERENCES and protect uses of thread_move_t
...
[SVN r76039]
2011-12-18 14:31:36 +00:00
Vicente J. Botet Escriba
b6604882eb
Thread: Added BOOST_THREAD_VERSION so that we can add backward incompatible features
...
[SVN r76037]
2011-12-18 13:37:37 +00:00
Vicente J. Botet Escriba
a9c9d5c499
Thread: #4048 thread::id formatting: use ios_flags_saver
...
[SVN r76011]
2011-12-17 09:02:10 +00:00
Vicente J. Botet Escriba
04c17e45b3
Thread: #5594 boost::shared_mutex not fully compatible with Windows CE.
...
[SVN r75903]
2011-12-11 15:43:13 +00:00
Vicente J. Botet Escriba
730a8de024
Thread: #5040 future.hpp in boost::thread does not compile with /clr
...
[SVN r75901]
2011-12-11 13:32:41 +00:00
Vicente J. Botet Escriba
f64b5559dd
Thread: #6200-mutex error better handle EINTR
...
[SVN r75882]
2011-12-10 10:55:53 +00:00
Vicente J. Botet Escriba
cac715937a
Thread: boost thread unit test module bug on Microsoft Visual Studio debug mode
...
[SVN r75858]
2011-12-07 21:08:52 +00:00
Vicente J. Botet Escriba
58d65b17ea
Thread: #5859 win32 shared_mutex constructor leaks on exceptions
...
[SVN r75806]
2011-12-04 23:06:24 +00:00
Vicente J. Botet Escriba
4314f0cac3
Thread: #3762 Thread can't be compiled with winscw (Codewarrior by Nokia) (win part)
...
[SVN r75802]
2011-12-04 15:18:32 +00:00
Vicente J. Botet Escriba
d4da369930
Thread: 6207/6208 shared_lock/try_lock_wrapper swap compiler error on clang 3.0 c++11
...
[SVN r75801]
2011-12-04 14:58:08 +00:00
Vicente J. Botet Escriba
c6e872ceb0
Thread: #2309 - Lack of g++ symbol visibility support in Boost.Thread
...
[SVN r75799]
2011-12-04 10:36:34 +00:00
Vicente J. Botet Escriba
72d809819f
Thread: #3639 Boost.Thread doesn't build with Sun-5.9 on Linux
...
[SVN r75798]
2011-12-04 09:35:34 +00:00
Vicente J. Botet Escriba
dd09ef3362
Thread: 4315 gcc 4.4 Warning: inline ... declared as dllimport: attribute ignored
...
[SVN r75791]
2011-12-03 17:56:38 +00:00
Vicente J. Botet Escriba
35af4a8f35
Thread: 3762 Thread can't be compiled with winscw (Codewarrior by Nokia) (pthread part)
...
[SVN r75789]
2011-12-03 14:11:02 +00:00
Vicente J. Botet Escriba
a01fd3dd76
Thread: 4480 (move part) + 6175 Compile error with SunStudio
...
[SVN r75788]
2011-12-03 14:06:32 +00:00
Vicente J. Botet Escriba
d220da89d1
Thread: 4480 OpenVMS patches for compiler issues workarounds (only sleep part)
...
[SVN r75787]
2011-12-03 13:57:06 +00:00
Vicente J. Botet Escriba
55c75e9299
Thread: 5423 thread issues with C++0x
...
[SVN r75786]
2011-12-03 13:50:40 +00:00
Vicente J. Botet Escriba
319ba2fe75
Thread: 6200 patch to have condition_variable and mutex error better handle EINTR
...
[SVN r75781]
2011-12-03 10:09:11 +00:00
Vicente J. Botet Escriba
d79eeff779
Thread:6168 recursive_mutex is using wrong config symbol (possible typo)
...
[SVN r75780]
2011-12-03 10:02:37 +00:00
Anthony Williams
681af396b8
Change pin_to_zero and interruptible_wait to use (u)intmax_t rather than (unsigned) long, to avoid warnings about truncation
...
[SVN r72303]
2011-05-31 12:28:11 +00:00
Anthony Williams
5e29afcb57
Remove inner definition of cond_res from timed_wait so outer variable
...
is set correctly
[SVN r69621]
2011-03-07 08:39:37 +00:00
Anthony Williams
0a1085d9be
Patch condition variables to ensure that the cond mutex is unlocked before we try and check for interruption
...
[SVN r69547]
2011-03-04 15:44:53 +00:00
Hartmut Kaiser
5ac2ff4521
Reverted accidental commit, sorry...
...
[SVN r67895]
2011-01-09 22:21:03 +00:00
Hartmut Kaiser
8565a3e472
Spirit: replaced proto::lit with spirit::lit
...
[SVN r67754]
2011-01-07 17:50:06 +00:00
Anthony Williams
3648bc8cb0
Throw condition_error if pthread_cond_wait fails, rather than asserting
...
[SVN r67734]
2011-01-06 22:49:41 +00:00
Anthony Williams
4e0007780c
Fix for issue #2330 - remove race condition in condition_variable::wait wrt interruption checking
...
[SVN r66228]
2010-10-28 14:18:00 +00:00
Anthony Williams
10f0c3e08e
Fix for issue #4531 --- promise::lazy_init uses shared_ptr atomic access functions to avoid race
...
[SVN r66146]
2010-10-22 14:01:12 +00:00
Anthony Williams
ebfb62ca49
Fixed issue #4727 --- only use microsec clock if available
...
[SVN r66141]
2010-10-22 09:26:15 +00:00
Andrey Semashev
9c07d0ff5d
Fixed compilation with MSVC and, probably, other compilers.
...
[SVN r64996]
2010-08-25 15:25:16 +00:00
Anthony Williams
72a85b396c
Fix for issue #4368 --- ensure mutex is destroyed if setattr call fails
...
[SVN r63799]
2010-07-09 22:00:51 +00:00
Anthony Williams
87786091bb
Tidied up call_once to remove unused throw_count stuff
...
[SVN r63796]
2010-07-09 21:21:48 +00:00
Anthony Williams
784494274b
Fix for issue #4225 to allow static initialization of boost::once_flag
...
[SVN r63795]
2010-07-09 21:15:57 +00:00
Anthony Williams
68012dd92c
Fix for issue #4413 --- allow wait_for_any to work with empty ranges
...
[SVN r63790]
2010-07-09 19:18:16 +00:00
Anthony Williams
e40be775fe
Ensure futures and shared_mutex work on MSVC-10; fix for issue #2501
...
[SVN r63750]
2010-07-08 15:25:45 +00:00
Anthony Williams
7c674bc255
Added overload for swap member function that takes an lvalue reference
...
in all cases
[SVN r63650]
2010-07-05 14:35:45 +00:00
Steven Watanabe
6b9a2d791b
Protect get_thread_info from macro expansion to prevent errors on Haiku. Fixes #4341 .
...
[SVN r63295]
2010-06-24 19:38:16 +00:00