Andrey Semashev
2a953f1c4b
Merge pull request #309 from Lastique/fix_bind_warnings
...
Cleanup header includes
2026-02-06 14:04:41 +03:00
Peter Dimov
f33abfd621
Apply fixes for MinGW
2020-04-06 18:57:29 +03:00
Andrey Semashev
ee609e8806
Cleanup header includes.
...
1. Make inclusion of boost/bind/bind.hpp conditional in some cases, when the
code actually conditionally uses boost::bind. Reduces compile-time overhead
and fixes https://github.com/boostorg/thread/issues/307 .
2. Remove some unnecessary uses of boost::ref. This allows to avoid including
boost/core/ref.hpp in a few places, and avoids the associated template
instantiation overhead in others.
3. Replace deprecated header includes with the more recent alternatives. For
example: boost/detail/lightweight_test.hpp -> boost/core/lightweight_test.hpp,
boost/ref.hpp -> boost/core/ref.hpp.
4. Replace some blanket includes with the more fine-grained ones. For example,
boost/utility.hpp, boost/atomic.hpp. This reduces compile time overhead.
5. Add some missing includes, for example, boost/core/ref.hpp and
boost/type_traits/is_same.hpp.
6. Replace uses of std::is_same with boost::is_same (with the corresponding
included header) since the standard type_traits header presence and validity
is not tested by the code. Using boost::is_same makes the code more portable.
2020-04-05 01:51:58 +03:00
Austin Beer
d259e0fde4
Increased the time thresholds on a bunch of tests to be more forgiving so they pass consistently on Windows.
...
Reduced the time thresholds on a bunch of tests that were TOO forgiving.
2017-10-11 21:40:38 -06:00
Vicente J. Botet Escriba
8dfa7c2e42
fix issue throw() noexcept issue.
2017-04-29 16:14:41 +02:00
Vicente J. Botet Escriba
a45f36cbc6
Take in account possible issue while initializing cout. #12013
2016-02-28 19:26:38 +01:00
Vicente J. Botet Escriba
6e002ae3ec
try to remove more warnings.
2015-06-21 23:09:15 +02:00
Vicente J. Botet Escriba
58e8addad6
Try to get rid of bad link issue while defining global new.
2015-05-06 13:51:21 +02:00
Vicente J. Botet Escriba
8440e9a7d8
add tests on non_intettuption_point::sleep_...
2014-09-10 13:42:15 +02:00
Vicente J. Botet Escriba
7875edd234
Thread: make use of csbl to make the code more readable and to ensure that it interact well with the std.
...
[SVN r86504]
2013-10-28 20:08:39 +00:00
Vicente J. Botet Escriba
2df6ce78a4
Thread: fix promise set_at_..._thread_exit; Added preconditions.
...
[SVN r84678]
2013-06-07 19:03:49 +00:00
Vicente J. Botet Escriba
a8d5fd48c1
Thread: fix warning.
...
[SVN r84419]
2013-05-22 17:11:31 +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
6dad044ab7
Thread: avoid the use of boost/thread/thread.hpp to limit dependencies.
...
[SVN r83548]
2013-03-24 18:30:55 +00:00
Vicente J. Botet Escriba
15eff9e412
Thread: adjust some durations on tests
...
[SVN r82459]
2013-01-12 09:48:54 +00:00
Vicente J. Botet Escriba
c1dd0e1e43
Thread: comment not thread-safe check for the time been. atomic<> should be used insted.
...
[SVN r82455]
2013-01-12 08:52:26 +00:00
Vicente J. Botet Escriba
0cd8326f21
Thread: deprecate nested scoped locks and DateTime based timed fuctions
...
[SVN r81279]
2012-11-10 10:25:33 +00:00
Vicente J. Botet Escriba
c47ea136b6
Thread Split lock.hpp + towards allowing to disable interruptions
...
[SVN r81105]
2012-10-29 19:19:40 +00:00
Vicente J. Botet Escriba
5d13b87dd3
Thread: constraint these test to run only when BOOST_THREAD_USES_CHRONO is defined
...
[SVN r80847]
2012-10-04 17:08:23 +00:00
Vicente J. Botet Escriba
b342cf683b
Thread: Protect the static assert to catch bug with gcc-4.4
...
[SVN r80832]
2012-10-03 20:14:15 +00:00
Vicente J. Botet Escriba
e94946cc8c
Thread: Added static assert to catch bug with gcc-4.4
...
[SVN r80830]
2012-10-03 18:47:53 +00:00
Vicente J. Botet Escriba
8604ca1b85
Thread: Fix bug with gcc4.4, prepare change to v3 by default
...
[SVN r80824]
2012-10-03 05:45:35 +00:00
Vicente J. Botet Escriba
dedaa7e617
Thread: version 4: Added variadic templates for packed_task cons, async, thread cons + added make_future + future::get() can be called just once
...
[SVN r80755]
2012-09-29 16:31:27 +00:00
Vicente J. Botet Escriba
b1ae3a98e8
Thread: Remove temporarly the check on n_alive until I use a movable class
...
[SVN r80497]
2012-09-11 21:54:06 +00:00
Vicente J. Botet Escriba
71f864bc5c
Thread: Added notify_all_at_thread_exit+join can throw conditionally if not joinable + detach is no more noexcept
...
[SVN r80351]
2012-09-01 17:10:16 +00:00
Vicente J. Botet Escriba
530aaaae38
Thread: 7045: make boost_thread don't depend on boost_chrono for win and 2797: armonize win behavior with posix one.
...
[SVN r80236]
2012-08-26 15:17:39 +00:00
Vicente J. Botet Escriba
050b43757f
Thread: remove includes using lib/thread
...
[SVN r80125]
2012-08-21 21:30:00 +00:00
Vicente J. Botet Escriba
7de77cf13c
Thread: fixes for inspection report
...
[SVN r79985]
2012-08-12 18:33:11 +00:00
Vicente J. Botet Escriba
6b0ce64d5e
Thread: Fix max macro issue on Windows
...
[SVN r78920]
2012-06-13 06:34:22 +00:00
Vicente J. Botet Escriba
e09105de98
Thread: fix TIME_UTC, WINVER, constexpr for tags, and don't use local files
...
[SVN r78802]
2012-06-03 18:11:52 +00:00
Vicente J. Botet Escriba
cd4c858048
Thread: Added some traces to catch spourious issue
...
[SVN r78278]
2012-04-30 16:04:22 +00:00
Vicente J. Botet Escriba
3fb1bd3d1d
Thread: warning removal
...
[SVN r78277]
2012-04-30 16:03:30 +00:00
Vicente J. Botet Escriba
f60e1d1230
Thread: Try to fix some spourious error
...
[SVN r78197]
2012-04-25 21:55:07 +00:00
Vicente J. Botet Escriba
7ba000fe45
Thread: Set by default to don't use Boost.Move
...
[SVN r77994]
2012-04-15 12:29:33 +00:00
Vicente J. Botet Escriba
efa907881e
Thread: Make use of the new macros to reduce the code duplication-III
...
[SVN r77941]
2012-04-12 22:59:23 +00:00
Vicente J. Botet Escriba
f970c9fddc
Thread: remove some warnings + rename BOOST_EXPLICIT_MOVE by BOOST_THREAD_MAKE_RV_REF
...
[SVN r77918]
2012-04-11 17:16:45 +00:00
Vicente J. Botet Escriba
d95081094f
Thread: remove some warnings
...
[SVN r77849]
2012-04-09 15:26:40 +00:00
Vicente J. Botet Escriba
c3fdc098fe
Thread: Try to fix some failing tests on sun
...
[SVN r77806]
2012-04-07 07:59:23 +00:00
Vicente J. Botet Escriba
6ed276190d
Thread: rename macros and try to fix some failing sun test
...
[SVN r77789]
2012-04-05 22:39:22 +00:00
Vicente J. Botet Escriba
8d9370b005
Thread: Try to pass these tests on VACPP
...
[SVN r77766]
2012-04-04 19:56:56 +00:00
Vicente J. Botet Escriba
297da0745f
Thread: Try to pass these test on Sun using BOOST_EXPLICIT_MOVE
...
[SVN r77753]
2012-04-04 15:14:05 +00:00
Vicente J. Botet Escriba
56bd079f96
Thread: Added call to terminate if joinable for #6266 and #6269
...
[SVN r77718]
2012-04-02 16:32:33 +00:00
Vicente J. Botet Escriba
5b3743d9a6
Thread: Split test with and wothout args
...
[SVN r77686]
2012-04-01 15:48:56 +00:00
Vicente J. Botet Escriba
abad5c3028
Thread: Added BOOST_EXPLICIT_MOVE
...
[SVN r77588]
2012-03-27 18:22:30 +00:00
Vicente J. Botet Escriba
34b1a86a68
Thread: Update F_pass and Frvalue tests for compilers that doesn't support rvalue references or delete constructors.
...
[SVN r77551]
2012-03-25 22:31:11 +00:00
Vicente J. Botet Escriba
dfa0a3979a
Thread: Add explicit #error when the test is not applicable
...
[SVN r77041]
2012-02-16 18:12:03 +00:00
Vicente J. Botet Escriba
396cd7db4f
Thread: Added traces to try to catch some issues
...
[SVN r77038]
2012-02-16 17:40:47 +00:00
Vicente J. Botet Escriba
5d8b0891bd
Thread: Don't fail when native_handle is not defined
...
[SVN r76996]
2012-02-12 16:47:19 +00:00
Vicente J. Botet Escriba
65008b11f7
Thread: Try to fix some checks that fails depending on the way the threads are switched (the time constraint is too high)
...
[SVN r76580]
2012-01-18 21:04:47 +00:00
Vicente J. Botet Escriba
11a951c679
Thread: Try to fix some checks that fails depending on the way the threads are switched (the time constraint is too high)
...
[SVN r76565]
2012-01-17 22:24:06 +00:00