2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-23 18:12:12 +00:00
Commit Graph

2331 Commits

Author SHA1 Message Date
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
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
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
9b4c86dbd4 Merge pull request #148 from eldiener/develop
Removed executable attribute.
2017-09-17 19:30:55 +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
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
Vicente J. Botet Escriba
091e8c8088 reduce the number of travis jobs. 2017-09-09 18:42:23 +02:00
Vicente J. Botet Escriba
eda6b64491 Merge pull request #140 from SSE4/clang_windows_fixes
- switch to boost winapi, to avoid duplicated definitions when compil…
2017-09-07 00:56:11 +02:00
Vicente J. Botet Escriba
ee24ff8dd1 commit CI files. 2017-09-07 00:29:29 +02:00
SSE4
dfe39c630f Merge pull request #1 from Lastique/clang_windows_fixes_fixes
Fix compilation of Boost.WinAPI-based Boost.Thread
2017-09-06 09:36:01 +07:00
Andrey Semashev
a1460b6b0d Fixed incorrect call to GetCurrentThreadId. 2017-09-05 21:43:42 +03:00
Andrey Semashev
02f3290765 Added a missing include. 2017-09-05 21:42:43 +03:00
SSE4
5f0eeeff66 - additional WinAPI definitions 2017-08-31 16:12:16 +07:00
SSE4
e63257ff7f - switch to boost winapi, to avoid duplicated definitions when compiling using Clang on Windows 2017-08-31 14:52:13 +07:00
Vicente J. Botet Escriba
39c23ddf5a Interrup the threads before joining on schedulers. 2017-08-28 09:16:20 +02:00
Vicente J. Botet Escriba
3ee73c866d INcrease the threashold of spourious timeouts. 2017-08-28 09:15:39 +02:00
Vicente J. Botet Escriba
584b9c2d29 Merge pull request #131 from Lastique/fix_ticket12730
Changed signatures of TLS cleanup hooks for consistency with MSVC RTL.
2017-08-27 20:57:04 +02:00
Andrey Semashev
349f59d92d Changed signatures of TLS cleanup hooks for consistency with MSVC RTL.
This should fix startup of executables statically linked with Boost.Thread
because of undefined return value of the thread/process startup hooks.

Should fix https://svn.boost.org/trac10/ticket/12730.
2017-08-27 19:17:23 +03:00
Vicente J. Botet Escriba
e99ec0a283 Update copyright. 2017-08-26 10:50:51 +02:00
Vicente J. Botet Escriba
5920e4c7af Update copyright. 2017-08-26 10:50:15 +02:00
Vicente J. Botet Escriba
13f3d7ed87 Update changes. 2017-08-26 10:48:11 +02:00
Vicente J. Botet Escriba
738ab19573 Update to new version 4.8.0with changes. 2017-08-26 10:41:58 +02:00
Vicente J. Botet Escriba
510e66aef7 rename make_ready to notify_deferred. 2017-08-26 10:39:31 +02:00
Vicente J. Botet Escriba
19c590a881 manage with #12949. 2017-08-26 10:38:37 +02:00
Vicente J. Botet Escriba
395e3d786b #130 - Bug in boost::condition_variable on Windows. 2017-08-24 09:04:26 +02:00
Vicente J. Botet Escriba
fdc0cbcd8c #130 - Bug in boost::condition_variable on Windows. 2017-08-24 08:45:36 +02:00
Vicente J. Botet Escriba
f27a2921da manage with #13019 - ABI compatibility for BOOST_THREAD_PROVIDES_INTERRUPTIONS incomplete. 2017-08-23 00:33:57 +02:00
Vicente J. Botet Escriba
bb32aa3164 manage with 13163-boost::detail::heap_new does not have a variadic variant. 2017-08-22 23:48:23 +02:00
Vicente J. Botet Escriba
70b887a7bd Merge branch 'develop' of github.com:boostorg/thread into develop 2017-08-16 20:31:11 +02:00
Vicente J. Botet Escriba
28bf345c96 make more evident that timespec is realtime and not monotonic. 2017-08-16 20:30:59 +02:00
Vicente J. Botet Escriba
6a1eed0fa8 Merge pull request #129 from shinobu-x/wip-sk-20170815
Do not include same header twice
2017-08-16 07:41:23 +02:00
Shinobu Kinjo
c4d5488f7a Do not include same header twice
include/boost/thread/pthread/shared_mutex.hpp
2017-08-15 07:29:10 +09:00
Vicente J. Botet Escriba
24a22b66ef Workaround deprecated ::getpagesize(). 2017-08-13 07:19:42 +02:00
Vicente J. Botet Escriba
9579dc2056 Merge pull request #126 from Lastique/patch-6
Use BOOST_MAY_ALIAS from Boost.Config.
2017-08-03 23:02:41 +02:00
Vicente J. Botet Escriba
89e694cc56 Merge pull request #127 from dkolsen-pgi/sleep_until
Fix sleep_until() to use a realtime clock
2017-08-03 23:00:23 +02:00
David Olsen
047205fbbd Fix sleep_until() to use a realtime clock
boost::this_thread::no_interruption_point::hidden::sleep_until() takes an absolute time as a parameter and converts it to a duration for the length of time to sleep.  But the current time that the absolute time is compared against came from timespec_now(), which, on Linux at least, uses CLOCK_MONOTONIC, which "represents monotonic time since some unspecified starting point."  Since timespec_now() may have a different starting point than the time that was passed to sleep_until(), that can result in sleep_until() sleeping for an *extremely* long time, causing the program to appear to hang.

Change sleep_until() to get the current time from timespec_now_realtime(), which uses CLOCK_REALTIME, which has the same epoch as the time that is passed to sleep_until().
2017-08-02 15:19:32 -07:00
Andrey Semashev
23e7135f2c Use BOOST_MAY_ALIAS from Boost.Config. 2017-07-29 17:09:18 +03:00
Vicente J. Botet Escriba
d4cff01c72 #12519. 2017-06-11 11:30:59 +02:00