cfd93c7747Correct a fix that I previously implemented incorrectly
Austin Beer
2017-10-17 12:08:34 -0600
6d8c0676a1Merge pull request #187 from Lastique/update_winapi
Vicente J. Botet Escriba
2017-10-25 19:36:05 +0200
343230cd78Updated Boost.WinAPI usage to the new location and namespace.
Andrey Semashev
2017-10-25 01:09:24 +0300
44080a444cupdate release notes.
Vicente J. Botet Escriba
2017-10-24 21:02:01 +0200
6d7bc558d0Implement mono_platform_clock and mono_platform_timepoint fro MacOs.
Vicente J. Botet Escriba
2017-10-23 22:40:49 +0200
65681f4033Merge branch 'develop'
Peter Dimov
2017-10-21 05:45:52 +0300
d345533596move files from boost/detail to boost/thread/detail.
Vicente J. Botet Escriba
2017-10-19 18:14:37 +0200
007738d22cMerge branch 'feature/timespec_clocks' of github.com:boostorg/thread into feature/timespec_clocks
Vicente J. Botet Escriba
2017-10-15 18:28:05 +0200
6ddf6a8acfMerge pull request #180 from austin-beer/feature/timespec_clocks_pr19_no_int_sleep_on_win
Vicente J. Botet Escriba
2017-10-15 18:27:19 +0200
f9e97a68bbMerge branch 'feature/timespec_clocks' of github.com:boostorg/thread into feature/timespec_clocks
Vicente J. Botet Escriba
2017-10-15 10:17:12 +0200
44d410f067disable C4459 on msvc.
Vicente J. Botet Escriba
2017-10-15 10:14:39 +0200
48ceff1e65Merge pull request #179 from austin-beer/feature/timespec_clocks_pr18_use_pred_overloads
Vicente J. Botet Escriba
2017-10-14 19:10:36 +0200
883637e0f4try to avoid warning c4244 for msvc.
Vicente J. Botet Escriba
2017-10-14 13:09:17 +0200
3c01e39481Add and fix sleep functions
Austin Beer
2017-10-13 11:37:39 -0600
eef7293932Updated pthread/shared_mutex and future to use predicate wait functions. - This allowed these classes to take advantage of the time jump fixes in condition_variable. Fixed a minor issue where, if a thread was waiting after calling one of the following functions and it timed out at the same time it was given the lock, it would return false (failure) rather than succeeding. - mutex::timed_lock() - mutex::try_lock_for() - mutex::try_lock_until() - recursive_mutex::timed_lock() - recursive_mutex::try_lock_for() - recursive_mutex::try_lock_until() - shared_mutex::timed_lock_shared() - shared_mutex::try_lock_shared_for() - shared_mutex::try_lock_shared_until()
Austin Beer
2017-10-11 16:26:08 -0600
b65b2f3feaReverted future.hpp and pthread/shared_mutex.hpp back to the versions in the develop branch. This discarded all changes made to these two files in the feature/timespec_clocks branch to date.
Austin Beer
2017-10-11 16:07:32 -0600
d70e1aad77Merge pull request #178 from austin-beer/feature/timespec_clocks_pr17
Vicente J. Botet Escriba
2017-10-13 19:35:52 +0200
2272e9e3f5Updated more tests to pass consistently on Windows.
Austin Beer
2017-10-12 10:48:01 -0600
d259e0fde4Increased 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.
Austin Beer
2017-10-11 21:40:38 -0600
ac99313228Merge pull request #177 from austin-beer/feature/timespec_clocks_pr16
Vicente J. Botet Escriba
2017-10-11 22:08:25 +0200
7069c97a8bFixing lost notification bugs, part 1 - Updated all of the functions in all of the condition variable classes to ensure that they don't lose notifications - Re-enabled notification tests
Austin Beer
2017-10-04 22:56:06 -0600
3b5d0c8d7ffix meger issues from develop. Disable notification_lost test as need to be fixed for macos.
Vicente J. Botet Escriba
2017-10-11 09:32:19 +0200
d2498547a7Merge pull request #176 from austin-beer/feature/timespec_clocks_pr15
Vicente J. Botet Escriba
2017-10-11 08:31:56 +0200
c91c9e6d52Added tests to check for lost notifications.
Austin Beer
2017-10-10 12:06:29 -0600
e47081faa7Merge pull request #174 from boostorg/pr/fix-gcc48-failures
Vicente J. Botet Escriba
2017-10-09 07:39:02 +0200
b86f9eda93Try to disable std_thread_guard and std_scoped_thread tests on g++ 4.8
Peter Dimov
2017-10-09 01:40:42 +0300
4d26e4a07fAdd default g++ tester to Travis
Peter Dimov
2017-10-09 00:36:42 +0300
f329ba3540Add more AppVeyors testers, in particular cygwin (Adapted from Boost.Integer).
Vicente J. Botet Escriba
2017-10-08 17:25:21 +0200
adbd9c8d4cAdd more AppVeyors testers, in particular cygwin (Adapted from Boost.Integer).
Vicente J. Botet Escriba
2017-10-08 17:21:54 +0200
b12858610aMerge pull request #172 from karzhenkov/fix-threadapi-detection-2
Vicente J. Botet Escriba
2017-10-07 17:34:34 +0200
3ebd3b6bceRename module with <threadapi> definition
Alexander Karzhenkov
2017-10-06 00:59:06 +0500
f247ef75cdMerge branch 'develop' of github.com:boostorg/thread into develop
Vicente J. Botet Escriba
2017-10-06 01:46:00 +0200
f67e6d4417<threadapi> auto-detection has to be performed in Jamroot
Alexander Karzhenkov
2017-10-05 21:46:11 +0500
517f1efc56replace check by unlock_if_locked as some OsX define a check macro.
Vicente J. Botet Escriba
2017-10-04 23:33:48 +0200
db160fa8c5Merge pull request #169 from austin-beer/fix_upwards_conversions_doc
Vicente J. Botet Escriba
2017-10-03 18:41:42 +0200
983fb2e686Fixing incorrect references to BOOST_THREAD_PROVIDES_SHARED_MUTEX_UPWARDS_CONVERSION in the documentation. The actual code uses BOOST_THREAD_PROVIDES_SHARED_MUTEX_UPWARDS_CONVERSIONS (note the trailing 'S').
Austin Beer
2017-10-03 09:34:17 -0600
f794d5a9d1Merge pull request #168 from austin-beer/feature/timespec_clocks_pr13
Vicente J. Botet Escriba
2017-10-03 07:29:06 +0200
e3f586836acheck > 480 instead of > 500.
Vicente J. Botet Escriba
2017-10-02 19:06:52 +0200
82e2c82e95Renaming timespec to platform
Austin Beer
2017-10-02 09:23:54 -0600
3479524845trace elapsed time.
Vicente J. Botet Escriba
2017-10-02 13:18:33 +0200
178e0661abfix bad clock:: use, shoudl be chrono::steady_clock.
Vicente J. Botet Escriba
2017-10-02 08:59:41 +0200
b94c36f960move to 650 ms to see if the test pass.
Vicente J. Botet Escriba
2017-10-02 08:41:39 +0200
9f7e37c892Merge branch 'develop' into feature/timespec_clocks
Vicente J. Botet Escriba
2017-10-01 13:28:57 +0200
e7d6055ed3Merge pull request #167 from austin-beer/feature/timespec_clocks_pr12
Vicente J. Botet Escriba
2017-10-01 10:15:31 +0200
75d5ebbea5uncomment dependency from test jamfile to threadapi to see if we get a gree CI on windows.
Vicente J. Botet Escriba
2017-09-30 13:44:28 +0200
9969ec8504remove the #warning
Vicente J. Botet Escriba
2017-09-30 12:18:30 +0200
995033cf20Make sync_timed_queue more general adding a TimePoint parameter and fix the inteface of all the time related functions _for/_until to take generic chrono::timepoints and chrono::durations.
Vicente J. Botet Escriba
2017-09-30 12:15:06 +0200
d5da7a4ddadisable ex_lambda_future test for msvc-11.0 and add a warning to signal this doesn't work.
Vicente J. Botet Escriba
2017-09-30 10:03:17 +0200
659d309206Re-enabled tests on Windows that had been temporarily disabled.
Austin Beer
2017-09-29 15:53:21 -0600
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.
Austin Beer
2017-09-29 14:52:42 -0600
5ffca91e60* Hopefully fixed the build failure on Mac OS. * Refactored to use timespec as the internal storage with pthread and intmax_t with Windows.
Austin Beer
2017-09-29 10:22:01 -0600
51e6e654e3Re-disabled the three move_ctor_upgrade_lock tests on Windows that are still failing.
Austin Beer
2017-09-29 02:17:58 -0600
71bc9c855dcomment dependencies to threadapi feature on test/Jamfile to show that there is no impact.
Vicente J. Botet Escriba
2017-09-29 08:43:30 +0200
f3492f8da0Add runs for msvc-9.0, msvc-10.0 and msvc-11.0.
Vicente J. Botet Escriba
2017-09-29 08:41:25 +0200
3c25ad09ceAttempting to fix build errors on Windows.
Austin Beer
2017-09-29 00:34:47 -0600
a2e037bb54Fixes 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.
Austin Beer
2017-09-28 22:27:37 -0600
a4a21b1c12Merge pull request #166 from austin-beer/feature/timespec_clocks_pr11
Vicente J. Botet Escriba
2017-09-29 01:56:58 +0200
e9ce83b399Merge pull request #160 from karzhenkov/fix-threadapi-detection
Vicente J. Botet Escriba
2017-09-28 23:50:38 +0200
c2b207faa4Switching the Windows condition_variable and interruptible_wait functions over to using internal_timespec_clock.
Austin Beer
2017-09-28 13:24:21 -0600
c3a007e88b<threadapi> feature definition moved to module "threadapi.jam"
Alexander Karzhenkov
2017-09-28 20:18:43 +0500
68abb96818Merge pull request #165 from austin-beer/feature/timespec_clocks_pr10
Vicente J. Botet Escriba
2017-09-28 08:17:23 +0200
29c3b48da0Switching over to using the existing GetTickCount64() code for reporting monotonic time on Windows. This code is less precise than QueryPerformanceCounter(), but it's more reliable on older versions of Windows (e.g. XP and Server 2003).
Austin Beer
2017-09-27 15:40:50 -0600
9c1c372067<threadapi> is now optional; detection rules moved to "threadapi.jam"
Alexander Karzhenkov
2017-09-28 01:25:17 +0500
13713f3b9cAdded support for getting time on Windows to the timespec classes.
Austin Beer
2017-09-27 10:52:53 -0600
776d42f6cbMerge branch 'develop' into feature/timespec_clocks
Vicente J. Botet Escriba
2017-09-26 08:01:28 +0200
b20ea9ebb1fix strike characted.
Vicente J. Botet Escriba
2017-09-26 08:00:44 +0200
46c1ae6f96Merge branch 'develop' into feature/timespec_clocks
Vicente J. Botet Escriba
2017-09-26 05:55:40 +0200
f02f23eff5Add STACK_SIZE_PARAM_IS_A_RESERVATION when setting the stack size.
Vicente J. Botet Escriba
2017-09-26 05:54:53 +0200
fb0317ec7dMerge pull request #164 from austin-beer/feature/timespec_clocks_pr8
Vicente J. Botet Escriba
2017-09-25 19:25:38 +0200
417a2d8a46Fixed compile issue on Windows.
Austin Beer
2017-09-25 11:15:09 -0600
ce7f2b09cctry to use again pthread/shared_mutex.hpp on windows. Comment not used functions in timespec.
Vicente J. Botet Escriba
2017-09-25 12:52:25 +0200
e6226a95batry to fix future wait on posix duration.
Vicente J. Botet Escriba
2017-09-25 08:39:45 +0200
aa221d02b5try to fix issues on linu-mono mutex operation on system_time.
Vicente J. Botet Escriba
2017-09-25 00:18:12 +0200
5a7d8eca6fMerge pull request #163 from DanielaE/feature/qoi-warning
Vicente J. Botet Escriba
2017-09-24 21:04:34 +0200
de4ee72554disable some failing unique_lock/upgrade_lock tests on windows.
Vicente J. Botet Escriba
2017-09-24 20:21:43 +0200
ad5ea75ddddisable tsome failing unique_lock/upgrade_lock tests on windows.
Vicente J. Botet Escriba
2017-09-24 19:38:34 +0200
dd1b5282b2try to fix issues with windows and shared_mutex.
Vicente J. Botet Escriba
2017-09-24 17:29:27 +0200
45321f0570try to fix issues with new pthread/shared_mutex.hpp on windows by disabling the use of the pthread version that now depends on timespec.
Vicente J. Botet Escriba
2017-09-24 16:31:42 +0200
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
Daniela Engert
2015-02-15 17:23:33 +0100
961a0689f3Merge branch 'develop'
Vicente J. Botet Escriba
2017-09-24 08:13:12 +0200
bafc9f43a5try to fix DateTime time related issues on pthread/shared_mutex.hpp.
Vicente J. Botet Escriba
2017-09-24 08:12:02 +0200
ab3da91e67Auto-detection logic for <threadapi> added to "test/Jamfile.v2"
Alexander Karzhenkov
2017-09-23 21:52:48 +0500
6ee1c88869Try fix regression for native_handle
Alexander Karzhenkov
2017-09-23 15:24:53 +0500
b98d022d40try to fix DatTime related functions for mutex/recursive_mutex.
Vicente J. Botet Escriba
2017-09-23 08:42:02 +0200
f2d6d99d54Merge pull request #161 from austin-beer/feature/timespec_clocks_pr7
Vicente J. Botet Escriba
2017-09-23 07:00:11 +0200
2fb41edf1aDefault <threadapi> is based on <target-os> instead of host system name
Alexander Karzhenkov
2017-09-22 10:41:50 +0500
4d385bedd3try to fix condition_variable::timed_wait for pthread.
Vicente J. Botet Escriba
2017-09-22 04:18:55 +0200
03a2ea4612Merge pull request #159 from austin-beer/feature/timespec_clocks_pr6
Vicente J. Botet Escriba
2017-09-22 00:37:20 +0200
c290fc5f98Deleted an unused function and added some fixme comments.
Austin Beer
2017-09-21 12:59:09 -0600
23861b9608Fixed try_lock_*for() and wait_for() functions that were failing time jump tests.
Austin Beer
2017-09-21 12:08:20 -0600
24fd5953c9Fixed timed_join on Windows when the system clock jumps.
Austin Beer
2017-09-21 11:27:36 -0600
8f51d9c4a7Fixed try_join_* and timed_join functions that were failing time jump tests
Austin Beer
2017-09-21 10:56:53 -0600
5dcc5f6d26Merge branch 'develop' into feature/timespec_clocks
Vicente J. Botet Escriba
2017-09-21 18:53:52 +0200
70a4ce8eb3Merge pull request #158 from austin-beer/feature/timespec_clocks_pr5
Vicente J. Botet Escriba
2017-09-21 18:50:42 +0200
8207b88e97Made function static
Austin Beer
2017-09-21 10:48:58 -0600
de7e354a8eImproved the timespec implementation * Added a constructor to timespec_duration, real_timespec_timepoint, and mono_timespec_timepoint that takes an intmax_t representing the number of nanoseconds in the timespec. * Added a getNs() function to timespec_duration, real_timespec_timepoint, and mono_timespec_timepoint that returns an intmax_t representing the number of nanoseconds in the timespec. * Added a timespec_milliseconds() function that takes an integer representing milliseconds and returns a timespec_duration. * Removed some unnecessary BOOST_SYMBOL_VISIBLE declarations. * Removed the unnecessary d100 variable declarations.
Austin Beer
2017-09-20 18:50:25 -0600
981e993d40Adjust time constraint to windows.
Vicente J. Botet Escriba
2017-09-21 08:02:22 +0200