Vicente J. Botet Escriba
3479524845
trace elapsed time.
2017-10-02 13:18:33 +02:00
Vicente J. Botet Escriba
b94c36f960
move to 650 ms to see if the test pass.
2017-10-02 08:41:39 +02:00
Austin Beer
659d309206
Re-enabled tests on Windows that had been temporarily disabled.
2017-09-29 15:53:21 -06:00
Austin Beer
35d25851ce
* Reverted some of my Windows updates to get a condition variable test on Windows to pass again. Further analysis is needed to determine why the updates didn't work.
...
* Increased the range of one test so it passes on Windows.
2017-09-29 14:52:42 -06:00
Austin Beer
51e6e654e3
Re-disabled the three move_ctor_upgrade_lock tests on Windows that are still failing.
2017-09-29 02:17:58 -06:00
Austin Beer
a2e037bb54
Fixes and Cleanup
...
- Fixed build failures on Windows. The timespec struct is not supported by older versions of Visual Studio. I changed the internal representation inside of the *_timespec_timepoint classes to a boost::intmax_t representing the number of nanoseconds since the epoch.
- Fixed some functions that wouldn't execute at all if they were provided a negative time duration or an absolute time that was in the past. From what I understand, they should instead execute once and then return immediately.
- Moved pthread/timespec.hpp to detail/timespec.hpp.
- Deleted detail/internal_clock.hpp and moved the seven relevant lines into detail/timespec.hpp. This keeps all of the internal clock declarations in one place.
- Renamed thread_detail::internal_clock_t to detail::internal_chrono_clock to be consistent with and yet clearly differentiated from detail::internal_timespec_clock.
- Removed "using namespace chrono" to eliminate ambiguious namespace resolution when referencing detail::internal_chrono_clock.
- Re-enabled a few tests on Windows that had previously been disabled. I want to see whether or not they still need to be disabled.
2017-09-28 22:27:37 -06:00
Vicente J. Botet Escriba
46c1ae6f96
Merge branch 'develop' into feature/timespec_clocks
2017-09-26 05:55:40 +02:00
Vicente J. Botet Escriba
de4ee72554
disable some failing unique_lock/upgrade_lock tests on windows.
2017-09-24 20:21:43 +02:00
Vicente J. Botet Escriba
ad5ea75ddd
disable tsome failing unique_lock/upgrade_lock tests on windows.
2017-09-24 19:38:34 +02:00
Daniela Engert
4e83359537
fix or silence (msvc) compiler warnings about constant conditional expressions, unused parameters, narrowing, unreachable code, use of 'this' in base member initializations, and some other minor stuff
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-09-24 14:02:17 +02:00
Vicente J. Botet Escriba
981e993d40
Adjust time constraint to windows.
2017-09-21 08:02:22 +02:00
Vicente J. Botet Escriba
4329e5be07
Merge pull request #150 from boostorg/feature/promise_deferred
...
Feature/promise deferred
2017-09-19 23:42:08 +02:00
Vicente J. Botet Escriba
48a2a960da
remove some warnings.
2017-09-19 03:20:46 +02:00
Vicente J. Botet Escriba
728c8f9507
woraround for msvc <= 1900
2017-09-19 03:17:14 +02:00
Vicente J. Botet Escriba
d0db967e3b
Merge branch 'develop' of github.com:boostorg/thread into develop
2017-09-19 00:13:57 +02:00
Vicente J. Botet Escriba
d40e0faceb
Merge branch 'develop' into feature/promise_deferred
2017-09-18 18:42:48 +02:00
Vicente J. Botet Escriba
aa2fea2250
disable dequeue_views/queue_views tests if < _MSC_VER < 1910
2017-09-18 13:11:57 +02:00
Vicente J. Botet Escriba
a759fc693d
replace bad character by white space.
2017-09-18 08:22:37 +02:00
Vicente J. Botet Escriba
65989edb97
Added promise deferred functions.
2017-09-18 02:22:49 +02:00
Vicente J. Botet Escriba
1c85a84474
try to silent issues with msvc 12.0 and devector.
2017-09-18 00:15:35 +02:00
Edward Diener
dfb64a5af5
Removed executable attribute.
2017-09-17 08:51:10 -04:00
Vincent Hsu
603689372c
Fix sync_bounded_queue<>::size()
2017-05-10 13:12:01 +08:00
Vicente J. Botet Escriba
c251497758
Avoid throwing on destructor: condition_variable.
2017-05-06 12:09:23 +02:00
Vicente J. Botet Escriba
b8db8fef8b
Use parent executor ( #11716 ). Add promise::set_executor and packaged_task::set_executor ( #11717 ). Fix some move semantic issues C++03.
2015-10-11 19:56:38 +02:00
Vicente J. Botet Escriba
8c974800f9
try to remove yet more warnings.
2015-06-23 19:05:32 +02:00
Vicente J. Botet Escriba
6e002ae3ec
try to remove more warnings.
2015-06-21 23:09:15 +02:00
Vicente J. Botet Escriba
55c21919fc
try to remove some warnings.
2015-06-21 17:37:30 +02:00
Jessica Hamilton
c0afe2d873
Tests: correct #error message in recursive_mutex/native_handle_pass
2015-05-06 02:14:13 +12:00
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
331f0b9325
Added test for future<T&>::get_or.
2015-03-10 07:54:09 +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
1ae96b3820
Merge branch 'develop' into fix/blocking_future
2015-02-20 14:34:55 +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
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
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
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
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
69c1d40750
Merge branch 'develop' into feature/promise_set_value_emplace
2014-11-05 23:43:02 +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
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