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
Vicente J. Botet Escriba
37afdd2e9a
Moved test_scheduler_p to a explicit test_suite.
2014-11-05 01:03:44 +01:00
Vicente J. Botet Escriba
c87b24923a
Added scheduler at/after/on executor factory helper functions.
2014-11-05 00:41:29 +01:00
Vicente J. Botet Escriba
4f01891da7
Added not_ready and timeout queue_op_status. Make sync_timed_queue and sync_priority_queue conform to the sync_queue interface. Aapt the test to the new interface.
2014-11-02 15:13:37 +01:00
Vicente J. Botet Escriba
efab5af918
Fix inspection issue.
2014-11-02 15:11:28 +01:00
Vicente J. Botet Escriba
cbf9fe8a5c
Fix inspection issues.
2014-11-02 15:08:44 +01:00
Vicente J. Botet Escriba
6fd7dc0d94
Added move semantics for C++11 compilers. Need of a detail::priority_queue. Tried to do it for C++98, but heap_push/heap_pop algorithms are not move aware:(.
2014-11-01 22:18:32 +01:00
Vicente J. Botet Escriba
49d485f1aa
Removed BOOST_THREAD_QUEUE_DEPRECATE_OLD for priority and timed queues.
2014-11-01 11:21:09 +01:00
Vicente J. Botet Escriba
d5c41e4c4a
Added tyy_pus returning queue_op_status. Rename is_closed to closed.
2014-10-31 23:49:34 +01:00
Vicente J. Botet Escriba
304240b206
Move priority/timed queues to concurrent name space and scheduled executors to executors name spapce.
2014-10-31 08:03:15 +01:00
Vicente J. Botet Escriba
c61c139933
merged scheduled executors GSOC project from Ian Forbed.
2014-10-31 00:19:10 +01:00