Vicente J. Botet Escriba
5cdd807718
fix typo.
2014-07-26 07:19:28 +02:00
Vicente J. Botet Escriba
2a6948d74d
comment scheduled_executor.
2014-07-26 06:07:30 +02: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
726a3faf19
Removing QueueUserAPC on Windows Runtime.
2014-07-17 10:49:09 -07:00
Niall Douglas
590a3d99b0
Merge pull request #20 from ned14/develop
...
Decrufted GetTicksCount64 patch. Fixed break of build on MSVC.
2014-07-11 10:27:27 +01:00
Steve Gates
c977c8d420
Qualifying some functions calls in thread_primitives.hpp to avoid potentially ambiguity.
2014-07-10 18:09:24 -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
0861f81b05
Merge branch 'develop' of https://github.com/boostorg/thread into feedback
2014-07-08 14:53:47 -07:00
Steve Gates
6488028a22
Incorporating feedback: removed copyright, removed some ifdefs.
2014-07-08 14:53:39 -07:00
Vicente J. Botet Escriba
14dfe49c50
Merge branch 'develop'
2014-07-08 21:56:44 +02:00
Vicente J. Botet Escriba
08c4599fb6
Added inline for when_all() and when_any().
2014-07-07 22:07:44 +02:00
Vicente J. Botet Escriba
ca14e6187d
Merge branch 'develop'
2014-07-06 18:48:30 +02:00
Vicente J. Botet Escriba
f263c6014e
fix wait_pull_front in case the queue is closed while empty.
2014-07-06 18:47:48 +02:00
Vicente J. Botet Escriba
9e962e12e2
Merge branch 'develop'
2014-07-06 11:48:55 +02:00
Vicente J. Botet Escriba
6e154d45a4
fix wait_pull_front issue introduced in previous commit and add more tests.
2014-07-06 11:05:51 +02:00
Vicente J. Botet Escriba
c54e519f72
disable traces.
2014-07-06 11:03:30 +02:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5c61dced5e
Replaced tabs with spaces.
2014-07-05 19:31:42 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8a7f927be9
Fixed breakage on MSVC.
2014-07-05 19:30:58 +01:00
Vicente J. Botet Escriba
6074487b73
Fix isse on sync_bounded_queue::wait_push_front and add tests.
2014-07-05 19:38:10 +02: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
Vicente J. Botet Escriba
fe6daec2bc
don't close the queue when an exception is throw, don't return empty on wait_pull_pull_front.
2014-07-05 14:57:37 +02:00
Vicente J. Botet Escriba
f75b2ca155
don't close the queue when an exception is throw, don't return empty on wait_pull_pull_front.
2014-07-05 14:57:10 +02:00
Vicente J. Botet Escriba
68be44ec06
Restore breaking change.
2014-07-05 10:34:22 +02:00
Vicente J. Botet Escriba
817591b87c
protect the use of && when BOOST_NO_CXX11_RVALUE_REFERENCES is defined.
2014-07-04 08:07:57 +02:00
Vicente J. Botet Escriba
d7a3f124db
Merge branch 'develop'
2014-07-03 07:10:04 +02:00
Vicente J. Botet Escriba
c6817aeb1c
fall back to harware concurrency when physical concurrency doesn't works.
2014-07-03 07:08:07 +02: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
c266790b8d
Try to fix phisical_concurrency on PowerPC arch.
2014-06-29 23:48:18 +02:00
Vicente J. Botet Escriba
00ad9dddb9
Added nested type op_status.
2014-06-29 23:04:34 +02:00
Vicente J. Botet Escriba
21617e1acb
Merge pull request #15 from Lastique/patch-2
...
Fix warnings about redefining a defined macro
2014-06-22 17:41:34 +02:00
Andrey Semashev
99ac322223
Fix warnings about redefining a defined macro
...
The warnings appear when a dependent project (e.g. Boost.Log tests and examples) builds with link=shared and defines BOOST_ALL_DYN_LINK macro. In this case BOOST_THREAD_USE_DLL is defined by both thread/build/Jamfile.v2 and boost/thread/detail/config.hpp. This commit makes sure that doesn't happen.
2014-06-22 19:13:01 +04:00
Vicente J. Botet Escriba
414fce4580
Merge branch 'develop'
2014-06-13 18:58:08 +02:00
Vicente J. Botet Escriba
fe195e776b
make use of underlying_cast<int> insted of int cast.
2014-06-12 19:43:16 +02:00
Vicente J. Botet Escriba
8a6d3d68ce
Merge pull request #14 from MarcelRaad/patch-1
...
Fix for BOOST_NO_CXX11_RVALUE_REFERENCES
2014-06-12 18:40:01 +02:00
Marcel Raad
3a5c926930
Fix for BOOST_NO_CXX11_RVALUE_REFERENCES
...
Fix compilation of future.hpp with BOOST_NO_CXX11_RVALUE_REFERENCES defined. Tested on clang and MSVC12.
BOOST_NO_CXX11_RVALUE_REFERENCES has to be defined if the compiler provides rvalue references, but the standard library doesn't provide std::move. Without these fixes, the deleted copy constructor is called.
2014-06-12 17:41:20 +02:00
Vicente J. Botet Escriba
685ee1506a
Merge branch 'develop'
2014-06-10 17:42:23 +02:00
Vicente J. Botet Escriba
2062cebb54
Merge pull request #13 from danieljames/json-fix
...
Json fix
2014-06-10 07:29:01 +02:00
Daniel James
126030eb8c
JSON fix.
2014-06-10 00:18:36 +01:00
Vicente J. Botet Escriba
ac1b9653f3
Merge branch 'develop'
2014-06-09 17:55:57 +02:00
Vicente J. Botet Escriba
54ee07e745
Make use of core files.
2014-06-09 17:35:00 +02:00
Vicente J. Botet Escriba
ca298c2c86
Don't use atomic<thread::id> and so don't use testable_mutex.
2014-06-09 15:41:42 +02:00
Vicente J. Botet Escriba
4def87448e
Merge pull request #12 from Lastique/patch-3
...
Silence warnings about unused variables.
2014-06-09 15:07:48 +02:00
Vicente J. Botet Escriba
5719ea9e9f
Added meta/libraries.json.
2014-06-09 14:07:54 +02:00
Vicente J. Botet Escriba
6583d87c92
Added README.md.
2014-06-09 14:05:57 +02:00
Vicente J. Botet Escriba
fcf7a1811e
make use of underlying_cast<int> when casting from an enum class.
2014-06-09 14:04:11 +02:00
Andrey Semashev
d8f628ae65
Silence warnings about unused variables.
2014-06-09 15:20:12 +04:00
Vicente J. Botet Escriba
0bd10b7244
Merge branch 'develop'
2014-06-08 12:11:31 +02:00
Vicente J. Botet Escriba
24635c588f
Removed incomplete file.
2014-06-04 13:04:59 +02:00
Vicente J. Botet Escriba
4f8106c00e
remove dependency on Optional.
2014-06-04 08:21:08 +02:00