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
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
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
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
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
f90e76a59c
Added sync_deque.
2014-11-09 13:45:05 +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
c61c139933
merged scheduled executors GSOC project from Ian Forbed.
2014-10-31 00:19:10 +01:00
Vicente J. Botet Escriba
69f2a1df72
Added fib_task_region example and allows to work without executors.
2014-10-26 13:21:25 +01:00
Vicente J. Botet Escriba
700301e382
Added exception_list and task_region.
2014-10-26 11:27:18 +01:00
Vicente J. Botet Escriba
952aa44a98
Added promise::emplace and variadic make_ready_future.
2014-10-25 23:31:09 +02:00
Vicente J. Botet Escriba
3e28ea806c
Added deferred then tests.
2014-10-11 07:33:57 +02:00
Vicente J. Botet Escriba
8fd4755e79
Added shared_future::then executor.
2014-10-04 10:36:57 +02:00
Vicente J. Botet Escriba
f3de7bf10f
Add fuutre::then(ex, fct).
2014-10-02 07:36:52 +02:00
Vicente J. Botet Escriba
00b25853b2
Added when_all/when_any iterators tests.
2014-09-20 16:05:19 +02:00
Vicente J. Botet Escriba
5091ad705f
Added when_any/variadic_pass.cpp.
2014-09-20 14:37:47 +02:00
Vicente J. Botet Escriba
ce46539183
Added when_all/when_any/queue_views tests.
2014-09-06 23:30:50 +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
ebeb36646c
Add test for issue #10340 .
2014-08-31 08:59:40 +02: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
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
af6f80a3c7
Added generic_executor_ref.cpp tp regression tests.
2014-08-27 13:36:58 +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
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
2037a64c51
Avoid pedantic clang watnings.
2014-08-21 19:17:27 +02: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
Vicente J. Botet Escriba
68be44ec06
Restore breaking change.
2014-07-05 10:34:22 +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
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
c3ab21a7ba
comment mingw toolset flags - #3967 .
2014-04-19 13:04:15 +02:00
Vicente J. Botet Escriba
73fbc520e8
extract async executor test.
2014-03-01 08:38:08 +01:00
Vicente J. Botet Escriba
a7400061c6
added test for #9711 .
2014-02-26 22:09:15 +01:00
Vicente J. Botet Escriba
3f5823f50a
Add parallel_quick_sort example.
2014-02-16 17:25:49 +01:00
Vicente J. Botet Escriba
80634ee51e
Added with_lock_guard example.
2014-02-09 04:01:53 +01:00
Vicente J. Botet Escriba
b1ac899f23
Pulled with_lock_guard patch.
2014-02-09 03:42:39 +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
8682f7cb48
Added some test to internal invoke function add the associated fixes.
2014-02-02 08:13:58 +01:00
Vicente J. Botet Escriba
dc3397c452
Added parallel_acumulate example.
2014-01-28 23:14:43 +01: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
3723cedcab
Thread: Added user_scheduler (loop_executor).
...
[SVN r86570]
2013-11-06 06:37:46 +00:00
Vicente J. Botet Escriba
d558de7811
Thread: added new/old tickets tests for regression purposes.
...
[SVN r86545]
2013-11-02 12:58:03 +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
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
63d9ae2b29
Thread: Added a polymorphic executor and an executor_adaptor.
...
[SVN r86161]
2013-10-04 20:05:26 +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
47f40f991f
Thread: added first thread_pool.
...
[SVN r85855]
2013-09-23 16:45:00 +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
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
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
5a3c301582
Thread: protect condition_variable/_any wait_for and wait_until from malicious input.
...
[SVN r85591]
2013-09-07 12:11:18 +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
d759dd2dba
Thread: fix issue with continuation's future parameter which must taken by value.
...
[SVN r84978]
2013-07-07 20:36:05 +00:00
Vicente J. Botet Escriba
9fc6fec1eb
Thread: Add return type to lambda to be portable on msvc10.
...
[SVN r84953]
2013-07-04 21:40:15 +00:00
Vicente J. Botet Escriba
1da5f9563c
Thread: make use of barrier on test sync_queue/multi_thread_pass.cpp and remove some warnings in sync_queue|sync_bounded_queue/single_thread_pass.cpp tests.
...
[SVN r84911]
2013-06-28 06:00:44 +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
042a86c984
Thread: added completion function on barrier class.
...
[SVN r84809]
2013-06-16 21:27:59 +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
465aee1b66
Thread: Added test for #8596 .
...
[SVN r84589]
2013-06-01 05:11:34 +00:00
Vicente J. Botet Escriba
14d3c59682
Thread added shared_future::then tests.
...
[SVN r84548]
2013-05-29 20:48:37 +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
6dd195bbc6
Thread: Added tennis example to regression tests.
...
[SVN r83795]
2013-04-07 18:43:53 +00:00
Vicente J. Botet Escriba
8a259612cd
Thread: renamed all the examples as ex_; Added some lambda test.
...
[SVN r83762]
2013-04-04 00:04:16 +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
44ec248340
Thread: Added shared_future<>::wait... tests.
...
[SVN r83667]
2013-03-31 15:16:25 +00:00
Vicente J. Botet Escriba
7eba48576c
Thread: added future<>::wait... tests.
...
[SVN r83666]
2013-03-31 14:47:11 +00:00
Vicente J. Botet Escriba
16b42b6c63
Thread: added non-interleaved externally_locked stream example to regression tests.
...
[SVN r83653]
2013-03-30 18:38:03 +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
290faf192d
Thread: Added first version of sync_bounded_queue.
...
[SVN r83538]
2013-03-24 12:24:22 +00:00
Vicente J. Botet Escriba
a0bfa7faeb
Thread: activate synchronized_value tests
...
[SVN r83295]
2013-03-04 18:15:27 +00:00
Vicente J. Botet Escriba
6075cf2df6
Thread: Added test for synchronized_value + synchronize free function
...
[SVN r83266]
2013-03-03 11:02:31 +00:00
Vicente J. Botet Escriba
ba7a0935f2
Thread: added missing include for #7720 .
...
[SVN r82954]
2013-02-17 16:13:54 +00:00
Vicente J. Botet Escriba
197bbc1fd3
Thread: remove warnings.
...
[SVN r82950]
2013-02-17 14:59:57 +00:00
Vicente J. Botet Escriba
dc352450ca
Thread: added load test for shared_mutex.
...
[SVN r82925]
2013-02-16 15:11:19 +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
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
af330fb61b
Thread: try to not run some tests when threadapi is win32.
...
[SVN r82370]
2013-01-05 22:59:07 +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
2f0a6c01c2
Thread: comment missing file
...
[SVN r81864]
2012-12-11 18:58:43 +00:00
Vicente J. Botet Escriba
c8edd6c795
Thread: minor refactorings
...
[SVN r81842]
2012-12-10 22:02:16 +00:00