Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6552cf64b5
Fixed up WinRT support patch not compiling on WinRT.
2014-08-30 18:24:13 +01:00
Steve Gates
a06dde3794
Merge branch 'develop' into winrt2
...
Conflicts:
include/boost/thread/win32/thread_primitives.hpp
src/win32/gettickcount64.cpp
2014-07-18 12:19:46 -07:00
Steve Gates
a1faacd7bb
Fixing up copyrights that got reordered.
2014-07-09 16:43:48 -07:00
Steve Gates
866b78cbd0
Addressing more feedback:
...
Reverting disabling thread attributes for WinRT.
Created common GetSystemInfo/GetNativeSystemInfo function.
Fix this_thread get_id() bug on WinRT.
Enabled initializing the Windows Runtime in each test for execution. This
is not when using in Windows store/phone applications, just if a desktop
app.
2014-07-09 15:47:37 -07:00
Steve Gates
6488028a22
Incorporating feedback: removed copyright, removed some ifdefs.
2014-07-08 14:53:39 -07:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
04c53415fd
Extracted the original GetTicksCount64 de-cruft patch and rebased on boostorg/thread:develop.
2014-07-05 16:38:17 +01:00
Steve Gates
9ceea9822f
Enabling Boost.Thread to be used in the Windows Runtime.
...
This involves basically 3 changes:
1. Using __declspec(thread) instead of the Tls APIs.
2. Using Windows::System::Threading since Win32 Threading APIs aren't allowed.
3. Updating or replacing some banned APIs like WaitForSingleObject with WaitForSingleObjectEx.
2014-07-02 14:21:43 -07:00
Vicente J. Botet Escriba
82379f83a8
fix #9673 .
2014-02-26 18:48:02 +01:00
Vicente J. Botet Escriba
54646e9959
Added sleep_for/until with no interruption point.
2014-02-16 23:33:03 +01:00
Tim Blechmann
7756df2ce0
thread: physical_concurrency - avoid c++03-style vector::data
...
[SVN r86226]
2013-10-10 14:53:37 +00:00
Tim Blechmann
fc65611e82
Revert "Thread: provide physical concurrency conditional until it no regression is introduced."
...
This reverts commit 271ba281aecd5c556b2b863a9f05a8066e717854.
[SVN r86215]
2013-10-09 15:24:58 +00:00
Vicente J. Botet Escriba
4a63d4992c
Thread: provide physical concurrency conditional until it no regression is introduced.
...
[SVN r85926]
2013-09-26 06:54:33 +00:00
Tim Blechmann
04e3d918fb
thread: implement physical_concurrency
...
[SVN r85864]
2013-09-24 06:41:24 +00:00
Vicente J. Botet Escriba
858816b2d2
Thread: add detail:: to access detail::win32::GetTickCount64().
...
[SVN r85772]
2013-09-18 10:58:46 +00:00
Vicente J. Botet Escriba
4bc70444a4
Thread: try to fix SIGSEGV on win32 issue #7666 .
...
[SVN r85734]
2013-09-17 21:17:02 +00:00
Vicente J. Botet Escriba
5c78582794
Thread: refactor make_ready_at_thread_exit + inhibit at_thread_exit functions from external threads.
...
[SVN r85732]
2013-09-17 20:57:46 +00:00
Vicente J. Botet Escriba
5c88e6ce61
Thread: patch for #8070 to make use of GetTickCount64 when available.
...
[SVN r85714]
2013-09-16 19:43:37 +00:00
Vicente J. Botet Escriba
dc5a8a9c4e
Thread: try to handle with not needed definition of uintptr_t #8817 .
...
[SVN r85540]
2013-09-01 07:25:56 +00:00
Vicente J. Botet Escriba
ca3d7dab0b
Thread: remove warning
...
[SVN r83260]
2013-03-03 09:53:25 +00:00
Vicente J. Botet Escriba
75586eec0e
Thread: manage #7980
...
[SVN r82777]
2013-02-07 18:43:50 +00:00
Vicente J. Botet Escriba
e314bf03ce
Thread: fix issue when BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS is defined on win32/pthread.cpp
...
[SVN r82645]
2013-01-27 20:16:54 +00:00
Vicente J. Botet Escriba
a50176c259
Thread: rollback default version 3 change.
...
[SVN r82302]
2012-12-31 15:10:17 +00:00
Vicente J. Botet Escriba
c8edd6c795
Thread: minor refactorings
...
[SVN r81842]
2012-12-10 22:02:16 +00:00
Vicente J. Botet Escriba
593e9e0f2f
Thread: fix shared_ptr implicit conversion to bool introduced in [81780]
...
[SVN r81788]
2012-12-08 11:01:15 +00:00
Vicente J. Botet Escriba
03ebc320f1
Thread: set default version to 3
...
[SVN r81704]
2012-12-04 16:32:33 +00:00
Vicente J. Botet Escriba
0d9e8a0c3c
Thread: Towards removing DateTime dependency on the library binary file.
...
[SVN r81383]
2012-11-17 09:00:16 +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
315af061cd
Thread: Added promise::set_..._at_thread_exit
...
[SVN r81172]
2012-11-04 16:47:02 +00:00
Vicente J. Botet Escriba
48f8c1c1c8
Thread Split lock.hpp + towards allowing to disable interruptions
...
[SVN r81106]
2012-10-29 19:57:01 +00:00
Vicente J. Botet Escriba
a3098b5dfd
Thread: Added BOOST_THREAD_DONT_PROVIDE_THREAD_EQ, BOOST_THREAD_DONT_USE_DATETIME and forbid their use when defined + Added BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION and future<>::then + Go towards don't throwing from the cpp files (refactor start_thread, join + Added #define BOOST_THREAD_VERSION 2 for the tests that runs only with version 2
...
[SVN r81023]
2012-10-20 14:05:32 +00:00
Vicente J. Botet Escriba
7b54159af3
Thread: Make use of BOOST_TRY family macros on win32 code
...
[SVN r80799]
2012-09-30 23:46:00 +00:00
Vicente J. Botet Escriba
dbefae706c
Thread: Fixed windows part of 7360
...
[SVN r80533]
2012-09-15 14:28:49 +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
a01faf1bb8
Thread: fix win regression
...
[SVN r80134]
2012-08-22 06:12:46 +00:00
Vicente J. Botet Escriba
5fa5b680f0
Thread: remove dependency from boo_thread to boost_chrono
...
[SVN r80122]
2012-08-21 21:20:41 +00:00
Vicente J. Botet Escriba
bcf30f2dfc
Thread: cleanup no-exceptions on windows
...
[SVN r79384]
2012-07-09 16:50:35 +00:00
Vicente J. Botet Escriba
8bfd588b4c
Thread: remove warning attribute size
...
[SVN r79335]
2012-07-07 14:38:53 +00:00
Anthony Williams
1a4eed3b69
Initialization of current_thread_tls_key is direct from macro again to re-enable static initialization
...
[SVN r79239]
2012-07-03 08:10:41 +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
3f3c5c8ac5
Thread: warning removal
...
[SVN r78275]
2012-04-30 16:00:29 +00:00
Vicente J. Botet Escriba
d75cda0cc3
Thread: Provided an alternative implementation for thread::id using pthread_t and Windows Thread Id
...
[SVN r77838]
2012-04-08 19:22:38 +00:00
Vicente J. Botet Escriba
59265265d9
Thread: 6342: Adapt the one_flag and call_once to the c++11 interface
...
[SVN r77767]
2012-04-04 20:01:11 +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
f163054557
Thread: Added more noexcept
...
[SVN r77640]
2012-03-30 04:46:47 +00:00
Vicente J. Botet Escriba
aad2b35ac9
Thread: Fix bug on time related functions that should base the _for functions on the until_ ones
...
[SVN r77375]
2012-03-18 17:26:30 +00:00
Vicente J. Botet Escriba
defdb8ff1c
Thread: Try to fix 4885 - Access violation in set_tss_data at process exit due to invalid assumption about TlsAlloc
...
[SVN r76752]
2012-01-28 16:02:01 +00:00
Vicente J. Botet Escriba
b18314878a
Thread: try to make it possible to avoid the use of Boost.Chrono
...
[SVN r76570]
2012-01-18 00:13:17 +00:00
Vicente J. Botet Escriba
b6063b5c60
* [@ http://svn.boost.org/trac/boost/ticket/2741 #2741 ] Proposal to manage portable and non portable thread attributes.
...
* [@http://svn.boost.org/trac/boost/ticket/6195 #6195 ] c++11 compliance: Provide the standard time related interface using Boost.Chrono.
* [@http://svn.boost.org/trac/boost/ticket/6224 #6224 ] c++11 compliance: Add the use of standard noexcept on compilers supporting them.
* [@http://svn.boost.org/trac/boost/ticket/6226 #6226 ] c++11 compliance: Add explicit bool conversion from locks.
* [@http://svn.boost.org/trac/boost/ticket/6230 #6230 ] c++11 compliance: Follows the exception reporting mechanism as defined in the c++11.
* [@http://svn.boost.org/trac/boost/ticket/6272 #6272 ] c++11 compliance: Add thread::id hash specialization.
* [@http://svn.boost.org/trac/boost/ticket/6273 #6273 ] c++11 compliance: Add cv_status enum class and use it on the conditions wait functions.
* [@http://svn.boost.org/trac/boost/ticket/6194 #6194 ] Adapt to Boost.Move.
Fixed Bugs:
* [@http://svn.boost.org/trac/boost/ticket/2575 #2575 ] Bug- Boost 1.36.0 on Itanium platform.
* [@http://svn.boost.org/trac/boost/ticket/4921 #4921 ] BOOST_THREAD_USE_DLL and BOOST_THREAD_USE_LIB are crucial and need to be documented.
* [@http://svn.boost.org/trac/boost/ticket/5013 #5013 ] documentation: boost:🧵 pthreas_exit causes terminate().
* [@http://svn.boost.org/trac/boost/ticket/5351 #5351 ] interrupt a future get boost::unknown_exception.
* [@http://svn.boost.org/trac/boost/ticket/5516 #5516 ] Upgrade lock is not acquired when previous upgrade lock releases if another read lock is present.
* [@http://svn.boost.org/trac/boost/ticket/5990 #5990 ] shared_future<T>::get() has wrong return type.
* [@http://svn.boost.org/trac/boost/ticket/6174 #6174 ] packaged_task doesn't correctly handle moving results.
[SVN r76543]
2012-01-16 17:32:08 +00:00
Vicente J. Botet Escriba
7eac2fe3e4
Thread: Fix auto_ptr error
...
[SVN r75886]
2011-12-10 14:59:43 +00:00