Commit Graph

203 Commits

Author SHA1 Message Date
Vicente J. Botet Escriba
93d1855e64 Thread: fix scoped_thread variadic constructor.
[SVN r85494]
2013-08-27 22:37:15 +00:00
Vicente J. Botet Escriba
a39dd7e8b3 Thread: avoid conflict with thread symbol.
[SVN r85493]
2013-08-27 22:35:21 +00:00
Vicente J. Botet Escriba
794d54a65c Thread: fix issue with continuation's future parameter which must taken by value.
[SVN r84979]
2013-07-07 20:44:02 +00:00
Vicente J. Botet Escriba
6873d85650 Thread: Added future::unwrap()/get_or()/fallback_to().
[SVN r84719]
2013-06-09 21:41:00 +00:00
Vicente J. Botet Escriba
dc8449bd0e Thread: Added shared_future::then.
[SVN r84541]
2013-05-28 20:25:34 +00:00
Vicente J. Botet Escriba
c628e51e6c Thread: little refactoring on future.hpp; Added make_ready_future.
[SVN r84493]
2013-05-25 12:44:43 +00:00
Vicente J. Botet Escriba
9d10bd035a Thread: fix inspection report.
[SVN r84329]
2013-05-17 19:20:45 +00:00
Vicente J. Botet Escriba
7b48c02d2f Thread: fix warning
[SVN r84185]
2013-05-07 22:18:15 +00:00
Vicente J. Botet Escriba
5fcfd0e4e8 Thread: update the externally_locked_stream interface.
[SVN r84109]
2013-05-02 15:32:29 +00:00
Vicente J. Botet Escriba
c71882816c Thread: add missing joinable in scoped_thread #8451 + construction from F, Args.
[SVN r83949]
2013-04-18 06:43:19 +00:00
Vicente J. Botet Escriba
6dd195bbc6 Thread: Added tennis example to regression tests.
[SVN r83795]
2013-04-07 18:43:53 +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
9fb88b8f47 Thread: don't define BOOST_THREAD_DONT_PROVIDE_FUTURE_INVALID_AFTER_GET on future::then tests.
[SVN r83678]
2013-04-01 17:47:17 +00:00
Vicente J. Botet Escriba
528fcbde56 Thread: major rewrite of future::then.
[SVN r83676]
2013-04-01 16:17:05 +00:00
Vicente J. Botet Escriba
116c947af9 Thread: replace wait_and_ope by ope in sync_queues and pop by pull.
[SVN r83648]
2013-03-30 14:33:42 +00:00
Vicente J. Botet Escriba
a0931c117d Thread: return 0.
[SVN r83645]
2013-03-30 09:37:43 +00:00
Vicente J. Botet Escriba
af3b5f3227 Thread: limit dependency on boost/thread/thread.hpp.
[SVN r83552]
2013-03-24 22:05:50 +00:00
Vicente J. Botet Escriba
19bd0d5eba Thread: Added first version of sync_queue.
[SVN r83547]
2013-03-24 18:29:03 +00:00
Vicente J. Botet Escriba
290faf192d Thread: Added first version of sync_bounded_queue.
[SVN r83538]
2013-03-24 12:24:22 +00:00
Vicente J. Botet Escriba
7b157ab5f4 Thread: Apply patch for #8212.
[SVN r83425]
2013-03-14 17:19:59 +00:00
Vicente J. Botet Escriba
23ff6e0120 Thread: Added noexcep to some synchronized_value constructors + doc.
[SVN r83396]
2013-03-10 14:54:59 +00:00
Vicente J. Botet Escriba
6075cf2df6 Thread: Added test for synchronized_value + synchronize free function
[SVN r83266]
2013-03-03 11:02:31 +00:00
Vicente J. Botet Escriba
09f86d603e Thread: fix typo on return value
[SVN r83261]
2013-03-03 10:14:16 +00:00
Vicente J. Botet Escriba
ca37d07184 Thread: Added value semantics to synchronized value
[SVN r83086]
2013-02-22 17:42:44 +00:00
Vicente J. Botet Escriba
68142e8ff8 Thread: cleanup perf_shared_mutex.cpp.
[SVN r82842]
2013-02-12 20:12:20 +00:00
Vicente J. Botet Escriba
158e8ead50 Thread: update perf shared_mutex file
[SVN r82647]
2013-01-27 21:24:38 +00:00
Vicente J. Botet Escriba
4bd3e09a0d Thread: Added performance test for shared_mutex.
[SVN r82637]
2013-01-27 17:29:24 +00:00
Vicente J. Botet Escriba
517e177d7a Thread: minor changes to fix PGI compiler adding lib atomic
[SVN r82529]
2013-01-17 21:09:55 +00:00
Vicente J. Botet Escriba
e72184e9ee Thread: Added atomic once implementation + variadi call_once for pthread
[SVN r82513]
2013-01-16 21:49:59 +00:00
Vicente J. Botet Escriba
c77281f724 Thread: make the mutex type of externally_locked_stream a template parameter. Polymorfic recursive mutex will be needed if the stream mutex map needs to be external.
[SVN r82397]
2013-01-08 01:28:28 +00:00
Vicente J. Botet Escriba
8a0578c93c Thread: improve external lock for externally_locked_stream.
[SVN r82392]
2013-01-07 23:13:43 +00:00
Vicente J. Botet Escriba
0e0cd2c950 Thread: complete externally_locked_stream.
[SVN r82318]
2013-01-02 14:14:03 +00:00
Vicente J. Botet Escriba
6675f4645f Thread: #7422: don't use internal_mutex when interruptions not enabled
[SVN r82094]
2012-12-19 10:50:23 +00:00
Vicente J. Botet Escriba
c8edd6c795 Thread: minor refactorings
[SVN r81842]
2012-12-10 22:02:16 +00:00
Vicente J. Botet Escriba
0fac7be5b9 Thread: rename _synchronizer as _lock_ptr, and move them outside of synchronized_value so that they can be used in other contexts + update and show usage of unique_lock_ptr.
[SVN r81779]
2012-12-07 23:45:09 +00:00
Vicente J. Botet Escriba
ea11670593 Thread: fix strinct_synchronizer move error and update the example to be run on all compilers.
[SVN r81680]
2012-12-02 21:30:39 +00:00
Vicente J. Botet Escriba
6728fdb3b1 Thread: make synchronized_value use Boost.Move and add some value based operations
[SVN r81673]
2012-12-02 18:30:00 +00:00
Vicente J. Botet Escriba
580c1b7be4 Thread: fix some issues when BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS is defined and add tests
[SVN r81672]
2012-12-02 14:14:09 +00:00
Vicente J. Botet Escriba
7f043d7b07 Thread: uncomment failing indirection in synchronized_value
[SVN r81650]
2012-12-01 12:28:55 +00:00
Vicente J. Botet Escriba
168ee37d30 Thread: remove warnings
[SVN r81645]
2012-12-01 11:04:25 +00:00
Vicente J. Botet Escriba
81528d64d5 Thread: Added const_strict_synchronizer.
[SVN r81644]
2012-12-01 11:02:16 +00:00
Vicente J. Botet Escriba
4387de4be8 Thread: add traces to future_then
[SVN r81505]
2012-11-24 08:08:10 +00:00
Vicente J. Botet Escriba
ae89c307bf Thread: ref #7669
[SVN r81289]
2012-11-11 00:57:07 +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
30bfc7bcea Thread: remove some rvalue-references limitations for future::then and make_shared.
[SVN r81111]
2012-10-30 09:36:22 +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
11e15ff0f2 Thread: Added an example using externally_locked_stream
[SVN r81103]
2012-10-29 19:09:47 +00:00
Vicente J. Botet Escriba
0ede82e059 Thread: change strict_lock is_locking by own_lock and update lockable concepts
[SVN r81101]
2012-10-29 19:05:51 +00:00
Vicente J. Botet Escriba
2f7b936cd6 Thread: Added externally_locked
[SVN r81087]
2012-10-29 01:09:58 +00:00
Vicente J. Botet Escriba
32f7b212bd Thread: Added strict locks
[SVN r81084]
2012-10-29 01:03:31 +00:00
Vicente J. Botet Escriba
d6178b3139 Thread: update thread_guard to make it a template parameterized by thread functors
[SVN r81079]
2012-10-29 00:36:06 +00:00
Vicente J. Botet Escriba
ec1241a6d8 Thread: Added thread_joiner
[SVN r81074]
2012-10-28 17:55:32 +00:00
Vicente J. Botet Escriba
ae819901ab Thread: Added scoped_thread
[SVN r81073]
2012-10-28 17:53:42 +00:00
Vicente J. Botet Escriba
3c0294cf3a Thread: added first version of synchronized_value
[SVN r81072]
2012-10-28 17:43:40 +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
e9217d02f0 Thread: remove some minor warnings
[SVN r80854]
2012-10-04 21:57:18 +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
16ad9c868e Thread: make the code of tests set_rvalue and make_future more portable
[SVN r80789]
2012-09-30 17:33:56 +00:00
Vicente J. Botet Escriba
4d84fb97c9 Thread: constrain make_future example to run when rvalues references are supported.
[SVN r80763]
2012-09-29 20:54:24 +00:00
Vicente J. Botet Escriba
18d4a8a0f8 Thread: Added missing file
[SVN r80756]
2012-09-29 16:36:19 +00:00
Vicente J. Botet Escriba
51530e03a5 Thread: Added possible missing vector file in some platforms
[SVN r79185]
2012-06-30 09:59:57 +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
fffc5ddd1f Thread: Added some traces to catch spourious issue
[SVN r78279]
2012-04-30 16:05:24 +00:00
Vicente J. Botet Escriba
f0a6e49984 Thread: Try to fix some errors with vacpp
[SVN r78222]
2012-04-27 22:24:17 +00:00
Vicente J. Botet Escriba
3487d05fac Thread: Fix typo
[SVN r77929]
2012-04-12 08:06:13 +00:00
Vicente J. Botet Escriba
031186a8e6 Thread: Add some macros to simplify the conditional code in particular the one related to mmove semantics+ fix some minor regression issues
[SVN r77928]
2012-04-11 23:42:26 +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
19aed55e52 Thread: Fix type
[SVN r77841]
2012-04-08 20:56:34 +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
08ed4c4201 Thread: Added shared mutex upwards conversion + configuration macros
[SVN r77704]
2012-04-01 21:52:47 +00:00
Vicente J. Botet Escriba
3a8e04cac6 Thread: Make test names shorter + Added some examples of shared mutex and tests
[SVN r77378]
2012-03-18 18:21:45 +00:00
Anthony Williams
13db35cbf5 Undo commit from r49977 which added extraneous throw to thread example
[SVN r49978]
2008-11-28 11:01:21 +00:00
Anthony Williams
0f2d480e3c Added test for making std::thread work with std::vector
[SVN r49977]
2008-11-28 10:57:12 +00:00
Anthony Williams
6e1a866b13 Fix for issue #1657
[SVN r44424]
2008-04-14 21:04:33 +00:00
Beman Dawes
5e0b2d7370 Get rid of .cvsignore files
[SVN r41107]
2007-11-15 15:20:27 +00:00
Vladimir Prus
ea3e297175 Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +00:00
Roland Schwarz
72e4794f5b Removed the "intentional memory leak" of the TSS implementation
[SVN r35426]
2006-09-29 19:24:19 +00:00
Hartmut Kaiser
1cb08ff60c Changed Boost.Thread to use the Boost license.
[SVN r35115]
2006-09-14 23:02:29 +00:00
Vladimir Prus
86072f95ac Update libs/thread/example/Jamfile.v2
[SVN r32271]
2006-01-10 08:14:25 +00:00
Rene Rivera
baa9b396d9 Fix some compilation problems on Win32 platforms because of inconsistent line-endings.
[SVN r23663]
2004-07-17 04:33:59 +00:00
Michael Glassford
c2bcd08168 Merge minor changes from thread_dev branch.
[SVN r22322]
2004-02-19 01:16:06 +00:00
Dave Abrahams
61ab2754d2 Use the import rule
[SVN r19968]
2003-09-08 17:38:49 +00:00
William E. Kempf
ff5d3b49ca Updated format (removed tabs) and added missing copyrights
[SVN r17214]
2003-02-04 23:23:02 +00:00
William E. Kempf
c918b66199 Switched to a DLL implementation
[SVN r16742]
2003-01-03 21:03:43 +00:00
William E. Kempf
c77500c15a Updated Jamfile to remove unused code
[SVN r16725]
2002-12-30 23:14:30 +00:00
Vladimir Prus
5a7377acda Made Boost.Thread compile with V2.
[SVN r15969]
2002-10-23 13:22:56 +00:00
William E. Kempf
cfce0892e0 Added tutorial sources. Changed tabs to spaces.
[SVN r15179]
2002-09-06 15:34:48 +00:00
William E. Kempf
78480e7951 Removed subdirectories
[SVN r14870]
2002-08-15 01:39:07 +00:00
William E. Kempf
4cb9c412e8 Added examples from documentation
[SVN r14869]
2002-08-15 01:22:29 +00:00
Dave Abrahams
99109ab78b respect <sysinclude>
[SVN r13995]
2002-05-21 16:24:07 +00:00
William E. Kempf
b99cc044f3 Updated Jamfile
[SVN r13095]
2002-03-05 16:27:46 +00:00
William E. Kempf
b1d1f7d8f1 Jamfile modifications
[SVN r13001]
2002-03-01 23:10:11 +00:00
William E. Kempf
24bec05b86 Added .cvsignore and updated Jam stuff
[SVN r12944]
2002-02-26 21:02:13 +00:00
William E. Kempf
5aab32bc1a More Jamfile changes.
[SVN r12857]
2002-02-18 23:04:25 +00:00
William E. Kempf
e152a1c6f2 Updated Jamfiles for new Boost.Build system
[SVN r12856]
2002-02-18 23:02:38 +00:00
William E. Kempf
a5239c820b Fixed tabs in files
[SVN r12622]
2002-02-01 17:31:46 +00:00
Mac Murrett
aa0d3adf1d *** empty log message ***
[SVN r12486]
2002-01-24 17:26:13 +00:00
William E. Kempf
6bc82a8580 Added Mac Carbon implementation to Boost.Threads.
[SVN r12480]
2002-01-24 16:32:23 +00:00
William E. Kempf
c4c2e5d3a2 Fixed bug in notify_one that caused deadlock.
[SVN r12178]
2001-12-31 17:18:46 +00:00
William E. Kempf
f3af804ddb Removed semaphores. Fixed some reported bugs. Switched to CRITICAL_SECTION implementations.
[SVN r11501]
2001-11-01 16:18:57 +00:00
William E. Kempf
1ce93426a4 Fixed Jamfile.
[SVN r11396]
2001-10-16 22:10:45 +00:00
Beman Dawes
b7f8f8867c merge branch "thread-initial" into main trunk
[SVN r11243]
2001-09-25 00:04:45 +00:00
Beman Dawes
4c816b66a3 file jamfile was initially added on branch thread-initial.
[SVN r10340]
2001-06-15 15:42:43 +00:00