Vicente J. Botet Escriba
e598796eaf
Add assertion on future continuation parameter is ready. As noted in #11256 , there some serious issues with the parameter passed and with lock on locked mutextes :(.
2015-05-02 16:29:06 +02:00
Vicente J. Botet Escriba
74f479d5c9
Fix non_copyable class in queue/dequeue view tests.
2015-03-29 19:34:28 +02:00
Vicente J. Botet Escriba
dbf793e7eb
Don't execute test for launch::deferred if BOOST_THREAD_PROVIDES_VARIADIC_THREAD is not defined.
2015-03-29 19:28:05 +02:00
Vicente J. Botet Escriba
ba2f814342
Don't lock while storing the exception_ptr list as only the task_region thread can do it.
2015-03-16 08:41:04 +01:00
Vicente J. Botet Escriba
331f0b9325
Added test for future<T&>::get_or.
2015-03-10 07:54:09 +01:00
Vicente J. Botet Escriba
0653efff3d
Added this_executor and default_executor examples.
2015-03-01 18:53:11 +01:00
Vicente J. Botet Escriba
c678b3794b
Crash issue while calling run_thread_exit_callbacks. Related to #11053 .
2015-03-01 01:37:35 +01:00
Vicente J. Botet Escriba
b8763b05ad
Add missing push(movable&&) and Run some failing tests that work when BOOST_NO_CXX11_RVALUE_REFERENCES is not defined.
2015-02-28 12:35:42 +01:00
Vicente J. Botet Escriba
3755af2063
Run some failing tests that work when BOOST_NO_CXX11_RVALUE_REFERENCES is not defined.
2015-02-28 12:35:23 +01:00
Vicente J. Botet Escriba
25310eaf7c
make use of nullary_function<void()> as work for timed schedulers (priority_queue) on C++11.
2015-02-22 23:44:34 +01:00
Vicente J. Botet Escriba
1ae96b3820
Merge branch 'develop' into fix/blocking_future
2015-02-20 14:34:55 +01:00
Vicente J. Botet Escriba
889c178173
fix issues with fallback_to. The route cause was that the original future was locked after destruction. This was more evident when the future was already ready when future::then was called.
2015-02-20 14:34:33 +01:00
Vicente J. Botet Escriba
7ba9591015
first trial towards a work=nullary_function<void() const>.
2015-02-20 10:20:38 +01:00
Vicente J. Botet Escriba
63fb28c7d4
Merge branch 'develop' into fix/blocking_future
2015-02-19 10:36:20 +01:00
Vicente J. Botet Escriba
e715d74a95
use a different name for serial_executor continuation as it add more constraints.
2015-02-19 10:30:25 +01:00
Vicente J. Botet Escriba
821a93ca1a
first draft for serial_executor based on continuations.
2015-02-17 19:09:56 +01:00
Vicente J. Botet Escriba
a4e7eba1d4
cleanup.
2015-02-11 07:05:10 +01:00
Vicente J. Botet Escriba
67778b3278
fix shared_future::then, get and get_or.
2015-02-10 00:01:28 +01:00
Vicente J. Botet Escriba
a5e6952a95
merge from develop - coamesced timers.
2015-02-09 13:08:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
84e2b7869d
Merge branch 'develop' of github.com:boostorg/thread into develop
2015-02-04 13:58:30 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
401f69f108
Added coalesced timer support to Windows where that API is available. Tolerable delay is set to the maximum of 5% of interval or 32 ms.
2015-02-04 13:58:11 +00:00
Vicente J. Botet Escriba
fdf20f1adc
merge Allow to call shared_future::then multiple times. Related to #10972 .
2015-02-02 19:40:04 +01:00
Vicente J. Botet Escriba
441c89d304
Allow to call shared_future::then multiple times. Related to #10972 .
2015-02-02 17:41:57 +01:00
Vicente J. Botet Escriba
63098e84a2
Merge branch 'develop' into fix/blocking_future
2015-02-01 19:39:43 +01:00
Vicente J. Botet Escriba
45510facc7
unwrapped future must forward the continuation to the wrapped future. Related to #10964 .
2015-02-01 14:56:52 +01:00
Vicente J. Botet Escriba
3431736c88
Merge branch 'develop' into fix/blocking_future
2015-01-27 22:22:37 +01:00
Vicente J. Botet Escriba
2891aff469
Add missing file .
2015-01-24 18:43:56 +01:00
Vicente J. Botet Escriba
e74fd82060
Merge from develop.
2015-01-24 18:02:31 +01:00
Vicente J. Botet Escriba
c16ec42941
Take care of #10964 .
2015-01-24 16:48:44 +01:00
Vicente J. Botet Escriba
b77eac3e37
Take care of #10963 .
2015-01-24 11:57:54 +01:00
Vicente J. Botet Escriba
d9c7f95617
fix future async deferred.
2015-01-23 07:10:22 +01:00
Vicente J. Botet Escriba
06b3f6a9d7
disable async deferred on C++98 as not implemented.
2015-01-23 06:02:11 +01:00
Vicente J. Botet Escriba
895b4a0ac5
Try to fix a lot of issues, even if alldoesn't works yet.
2015-01-22 23:10:40 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
eb14d3d958
Added a test for defect #9856 where wait_for() is not always returning timedout on Windows.
2015-01-22 17:20:46 +00:00
Vicente J. Botet Escriba
9cb72849ee
Go towards blocking on the last future associated to an async shared state. shared_future don't work yet.
2015-01-18 12:19:17 +01:00
Vicente J. Botet Escriba
2c028aa014
fix more erros after Boost.Test commit.
2015-01-12 00:36:55 +01:00
Vicente J. Botet Escriba
ab026e239c
Fix erros after Boost.Test adding dependency to Boost.Timer.
2015-01-11 18:21:22 +01:00
Vicente J. Botet Escriba
3a48148462
Fix Boost.Test issues after meger :(.
2015-01-11 17:30:54 +01:00
Raffi Enficiaud
ef48908f35
Merge branch 'master' of https://github.com/boostorg/thread
...
# By Vicente J. Botet Escriba (274) and others
# Via Vicente J. Botet Escriba (42) and others
* 'master' of https://github.com/boostorg/thread : (318 commits)
Added missing include.
cleanup future.hpp.
Updated CI dashboard with latest tests.
Looks like timeconv.inl may be completely unnecessary, so remove.
Could find no code anywhere in Boost which uses to_time(), to_timespec_duration(), to_duration() nor to_microduration(), so removed the code.
Fixed MSVC static analyser warning about writing off the end of an array.
Stop LNK4221 link warning with link=static.
Suppressed some unimportant warnings so the CI doesn't flag them.
Added static analysers to CI dashboard.
Added winphone8 build test.
Fix failure to build on Android.
redo
Added overall build and test status
Added test matrix to Readme.md so a summary appears on github
fix some typos.
ensure that the exceptions throw by a task submitted by a serial executor are transfered to it, and so the serial_executor doesn't block forever.
No comment after preprocessor continuation for msvc-12.0
Added ! defined __clang__ when tested defined __GNUC__.
Added BOOST_THREAD_PROVIDES_INVOKE constraing for invoker.
thread: physical_concurrency - return 0 instead of hardware_concurrency on failure
...
Conflicts:
test/test_2741.cpp
2015-01-11 16:22:32 +01:00
Raffi Enficiaud
28ead512c1
some reworked test init + boost.test link fix
2015-01-11 16:21:32 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b87d26a900
Suppressed some unimportant warnings so the CI doesn't flag them.
2014-12-11 19:15:38 +00:00
Vicente J. Botet Escriba
72dfa02269
Added BOOST_THREAD_PROVIDES_INVOKE constraing for invoker.
2014-12-03 22:37:42 +01:00
Vicente J. Botet Escriba
06a9f9ab6d
Added Clock parameter to scheduler and priority_timed_queue. Fix warnings in tests.
2014-11-17 07:34:43 +01:00
Vicente J. Botet Escriba
1b99fe5587
Replace range-based for loops to make the code more portable.
2014-11-14 08:45:16 +01:00
Vicente J. Botet Escriba
9b0705cb6f
Added deque_views. Make use of sync_queue and refactor to use sync_queue removing _front and _back.
2014-11-09 15:39:10 +01:00
Vicente J. Botet Escriba
3abdb869df
Reduce the interface of sync_quue to the queue operations, removing the deprecated ones and removing _front and _back.
2014-11-09 14:12:28 +01:00
Vicente J. Botet Escriba
f90e76a59c
Added sync_deque.
2014-11-09 13:45:05 +01:00
Vicente J. Botet Escriba
e6501b5485
cleanup scheduled executors.
2014-11-09 11:37:18 +01:00
Vicente J. Botet Escriba
a8ad389bdd
Merge branch 'develop' into feature/task_region
2014-11-06 07:42:36 +01:00
Vicente J. Botet Escriba
69c1d40750
Merge branch 'develop' into feature/promise_set_value_emplace
2014-11-05 23:43:02 +01:00