Commit Graph

2706 Commits

Author SHA1 Message Date
Vicente J. Botet Escriba
bad686d620 Merge pull request #155 from austin-beer/feature/timespec_clocks_pr4
Chrono-related optimizations
2017-09-21 07:57:12 +02:00
Austin Beer
2f1b1c4d44 Missed a file in the previous commit. 2017-09-20 12:49:22 -06:00
Austin Beer
d8f24d9183 Fixed an issue where the results of Chrono arithmetic operations weren't being assigned to a common type that's guaranteed to compile. 2017-09-20 12:49:22 -06:00
Austin Beer
0fa843532e Eliminated unnecessary convertions to chrono::nanoseconds 2017-09-20 12:49:21 -06:00
Vicente J. Botet Escriba
7b49f3f354 Merge pull request #154 from austin-beer/feature/timespec_clocks_pr3
Cleanup
2017-09-20 20:43:36 +02:00
Austin Beer
e6f876e830 More Cleanup
* Deleted unused sleep_for() overload in pthread/thread_data.hpp.
* Deleted unused and disabled sleep_for() overloads in win32/thread_data.hpp.
2017-09-20 10:10:17 -06:00
Austin Beer
285d35f43f Cleanup
* Deleted a couple of unnecessary calls to internal_clock_t::now() in v2/thread.hpp.
* Deleted the hidden::sleep_until() functions, which are no longer being used.
* Deleted the condition_variable::do_wait_for() function, which is no longer being used.
* Deleted the sleep_mutex and sleep_condition variables in pthread/thread_data.hpp, which are no longer being used.
2017-09-19 16:12:22 -06:00
Vicente J. Botet Escriba
a18dfa1fea Merge branch 'feature/timespec_clocks' of github.com:boostorg/thread into feature/timespec_clocks 2017-09-19 23:46:45 +02:00
Vicente J. Botet Escriba
f5ccff5b6e Merge pull request #153 from austin-beer/feature/timespec_clocks_pr2
Fixed sleep(TimeDuration const& rel_time)
2017-09-19 23:45:45 +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
962ef813b4 Merge branch 'develop' of github.com:boostorg/thread into develop 2017-09-19 23:31:09 +02:00
Vicente J. Botet Escriba
1c51b5d9b8 fix may-alias issue. 2017-09-19 23:30:42 +02:00
Austin Beer
a9706f0745 Fixed sleep(TimeDuration const& rel_time) when internal clock is not monotonic but CLOCK_MONOTONIC is available. 2017-09-19 15:06:06 -06:00
Vicente J. Botet Escriba
8e718893e5 Merge branch 'feature/timespec_clocks' of github.com:boostorg/thread into feature/timespec_clocks 2017-09-19 22:09:38 +02:00
Vicente J. Botet Escriba
f56bc930bc Merge pull request #151 from austin-beer/timespec_clocks_pr1
Updates to fix interruption-point inconsistencies.
2017-09-19 22:08:48 +02:00
Austin Beer
f1dec7935f Rearranged a couple of functions to simplify the #if/#else logic. 2017-09-19 13:22:13 -06:00
Vicente J. Botet Escriba
732f8c7458 Merge pull request #152 from shinobu-x/sk_detail_move_fix_001
Do not include same headers twice
2017-09-19 20:39:07 +02:00
Shinobu Kinjo
dd66147e07 Do not include same headers twice 2017-09-20 03:06:10 +09:00
Austin Beer
aebbcda3fe Updates to fix interruption-point inconsistencies.
* Fixed the interruption-point versions of sleep_for/sleep_until() to always use condition variables.
* Fixed the no-interruption-point versions of sleep_for/sleep_until() to use pthread_delay_np or nanosleep whenever possible.
* Updated hidden::sleep_for() to always use a condition variable.
* Updated no_interruption_point::hidden::sleep_for() to use pthread_delay_np or nanosleep whenever possible.
2017-09-19 09:04:57 -06:00
Vicente J. Botet Escriba
5b4d230d4a Merge branch 'develop' into feature/timespec_clocks 2017-09-19 13:01:20 +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
6b174a3419 Merge branch 'develop' into feature/timespec_clocks 2017-09-18 19:11:38 +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
0a71259442 Merge branch 'fix/msvc12.0-devector-issues' into develop 2017-09-18 18:08:26 +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
9813c81ef3 Added missing include. 2017-09-18 02:44: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
Vicente J. Botet Escriba
c86ef1721c appveyor uses -j3 now. 2017-09-17 23:34:02 +02:00
Vicente J. Botet Escriba
e2b9ce78c2 use -j3 with appveyor. 2017-09-17 23:06:40 +02:00
Vicente J. Botet Escriba
576231942d Merge branch 'develop' into feature/timespec_clocks 2017-09-17 22:40:59 +02:00
Vicente J. Botet Escriba
9b4c86dbd4 Merge pull request #148 from eldiener/develop
Removed executable attribute.
2017-09-17 19:30:55 +02:00
Vicente J. Botet Escriba
82eed2ca6d make use of do_wait_until when BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC is defined as proposed by Austin Beer.. 2017-09-17 19:09:09 +02:00
Vicente J. Botet Escriba
56016e8348 reinplement sleep(system_time) as proposed by Austin Beer. 2017-09-17 19:08:51 +02:00
Vicente J. Botet Escriba
b6b6a6944a remove redundant chrono:: 2017-09-17 18:45:05 +02:00
Edward Diener
dfb64a5af5 Removed executable attribute. 2017-09-17 08:51:10 -04:00
Vicente J. Botet Escriba
711bcae5d7 Merge branch 'develop' of github.com:boostorg/thread into develop 2017-09-17 13:49:06 +02:00
Vicente J. Botet Escriba
ed9ce65eb8 rename mp11 by thread in AppVeyor file. 2017-09-17 00:32:54 +02:00
Vicente J. Botet Escriba
d7010f9924 Merge pull request #147 from Lastique/fix_mfc_init_hook
Change _pRawDllMain and related types to use HINSTANCE instead of HANDLE
2017-09-16 22:36:01 +02:00
Andrey Semashev
b64aad9869 Changed _pRawDllMain and related types to use HINSTANCE instead of HANDLE.
In MSVC-9 MFC sources, _pRawDllMain and ExtRawDllMain accept HINSTANCE as
the first argument, not HANDLE. In strict mode these are different types,
which creates the potential for ODR errors. This commit resolves that
inconsistency.

Resolves https://svn.boost.org/trac10/ticket/12323.
2017-09-16 20:47:10 +03:00
Vicente J. Botet Escriba
739f8eeb81 Merge branch 'develop' 2017-09-16 17:57:21 +02:00
Vicente J. Botet Escriba
eead731177 #12976 Boost Thread Executors documentation mistakes 2017-09-16 17:47:16 +02:00
Vicente J. Botet Escriba
c689b6205c Merge pull request #146 from shinobu-x/sk_scheduling_adaptor_fix_001
Inappropriate class name
2017-09-16 14:50:28 +02:00
Shinobu Kinjo
03431ae64f modified: include/boost/thread/executors/scheduling_adaptor.hpp
modified:   test/test_scheduling_adaptor.cpp
2017-09-16 15:41:18 +09:00
Vicente J. Botet Escriba
c33b4bafbb Merge pull request #144 from boostorg/pdimov-patch-1
Add -j3 to .travis.yml to reduce build time and avoid timeouts
2017-09-10 21:02:14 +02:00
Peter Dimov
13959e3a5e Add -j3 to .travis.yml to reduce build time and avoid timeouts 2017-09-10 13:46:44 +03:00
Vicente J. Botet Escriba
3556f298c7 Merge branch 'develop' of github.com:boostorg/thread into develop 2017-09-09 18:42:58 +02:00