Vicente J. Botet Escriba
11e4c950ac
fix 10478 data race in boost/thread/future.hpp
2014-09-10 13:44:44 +02:00
Vicente J. Botet Escriba
6d68bac44b
fix move semantic issues on promise::set_value. Prepare the use of unique_ptr<T,D> to fix allocator issue.
2014-09-09 13:21:01 +02:00
Vicente J. Botet Escriba
5d0d128cab
let movelib do the std adaptation.
2014-09-09 13:15:51 +02:00
Vicente J. Botet Escriba
ec542d3c8b
remove commented code.
2014-09-08 05:49:10 +02:00
Vicente J. Botet Escriba
6e3216643b
Remove future_traits<> as there are always an specialization.
2014-09-07 19:46:02 +02:00
Vicente J. Botet Escriba
e93035ce42
Added run_if_is_deferred to shared_future.
2014-09-06 23:30:36 +02:00
Vicente J. Botet Escriba
53a46593a8
make classes using BOOST_THREAD_MOVABLE_ONLY<T> satisfy is_copy_constructible<T>::value == false.
2014-09-06 14:20:59 +02:00
Vicente J. Botet Escriba
c2426b8fad
fix missin common virtual function in queue_base_copyable_only.
2014-09-06 14:19:37 +02:00
Vicente J. Botet Escriba
7d841f6337
fix typo.
2014-09-06 14:18:36 +02:00
Vicente J. Botet Escriba
556bbde8a7
Implemented when_all/when_any when a tuple is returned.
2014-09-04 20:00:03 +02:00
Vicente J. Botet Escriba
722997379b
Added thread pool join function.
2014-08-31 18:16:49 +02:00
Vicente J. Botet Escriba
9ee1044f92
Merge branch 'develop' of github.com:boostorg/thread into develop
2014-08-31 09:00:04 +02:00
Vicente J. Botet Escriba
8ebf0e7f21
take in account ready tasks on when_all/when_any.
2014-08-31 08:57:27 +02:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0dc2f69bc1
Fixed typo in just made merge for WinRT support.
2014-08-30 18:58:43 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6552cf64b5
Fixed up WinRT support patch not compiling on WinRT.
2014-08-30 18:24:13 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d5f335b8a4
Merge branch 'winrt2' of https://github.com/MSOpenTech/thread into MSOpenTech-winrt2
2014-08-30 17:16:17 +01:00
Vicente J. Botet Escriba
80591fb64d
try to fix 10428 for uinque_ptr issues.
2014-08-30 17:57:12 +02:00
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