Anthony Williams
|
3c9be720b8
|
Simplified code by extracting create_once_mutex, so the essence of call_once is clarified.
Use boost::detail::interlocked_read rather than BOOST_INTERLOCKED_COMPARE_EXCHANGE to check flag value
[SVN r33553]
|
2006-04-05 11:42:07 +00:00 |
|
Anthony Williams
|
b3ba8802bf
|
Better express intent in structure of call_once
[SVN r33457]
|
2006-03-23 16:11:52 +00:00 |
|
Anthony Williams
|
0fddf00c8f
|
Removed using declaration for get_active_count, since we don't need it, and VC6 moans about it
[SVN r33411]
|
2006-03-20 22:08:33 +00:00 |
|
Anthony Williams
|
bb7976f666
|
Tidied up access for condition members
[SVN r33345]
|
2006-03-14 23:43:23 +00:00 |
|
Anthony Williams
|
3ad4fb38b5
|
Eliminated redundant #ifdef parts
[SVN r33335]
|
2006-03-13 17:00:46 +00:00 |
|
Anthony Williams
|
6aabcaac5c
|
Added appropriate support for QueueUserAPC condition implementation
[SVN r33330]
|
2006-03-13 08:29:17 +00:00 |
|
Anthony Williams
|
d07407306f
|
Added boost::detail::get_xtime_sentinel, which always yields 2^32-1 (INFINITE) seconds until expiry
[SVN r33329]
|
2006-03-13 08:14:16 +00:00 |
|
Anthony Williams
|
4231423773
|
Reduced duplication by extracting do_notify_one
[SVN r33304]
|
2006-03-10 10:54:27 +00:00 |
|
Anthony Williams
|
46b66d5268
|
Reduced scope of locking
[SVN r33303]
|
2006-03-10 10:33:37 +00:00 |
|
Anthony Williams
|
9c439a73db
|
Inlined barrier code, new implementation of condition based on QueueUserAPC. Blocks all waits and notifies whilst notifying.
[SVN r33302]
|
2006-03-10 10:07:01 +00:00 |
|
Anthony Williams
|
cdd57f50ef
|
Added recursive_timed_mutex
[SVN r33279]
|
2006-03-09 11:13:29 +00:00 |
|
Anthony Williams
|
8c2ded3235
|
Win32 implementation of boost::timed_mutex
[SVN r33272]
|
2006-03-08 22:24:52 +00:00 |
|
Anthony Williams
|
d3b590f213
|
Assert rather than throw when using checked mutexes
[SVN r33231]
|
2006-03-06 09:47:09 +00:00 |
|
Anthony Williams
|
7fcdd5d9e2
|
Added basic_checked_mutex, and make use of it dependent on BOOST_USE_CHECKED_MUTEX
[SVN r33208]
|
2006-03-03 09:35:41 +00:00 |
|
Anthony Williams
|
9ceee4b030
|
New implementations of mutex and recursive mutex for win32
[SVN r33172]
|
2006-02-28 11:27:19 +00:00 |
|
Anthony Williams
|
50f8f34ab8
|
Simplified wait functions
[SVN r32393]
|
2006-01-24 11:24:00 +00:00 |
|
Anthony Williams
|
617729f2ae
|
Added new test for unblocking all readers to read_write_mutex code. Added necessary implementation.
[SVN r31122]
|
2005-09-26 07:09:09 +00:00 |
|
Anthony Williams
|
e8363511d0
|
Moved BOOST_INTERLOCKED_READ stuff into its own header
[SVN r31098]
|
2005-09-23 17:24:29 +00:00 |
|
Anthony Williams
|
8a3b5145ac
|
reverted QueueUserAPC changes
[SVN r31052]
|
2005-09-20 07:27:35 +00:00 |
|
Anthony Williams
|
1af9fb7267
|
Wake up threads using QueueUserAPC rather than triggering the semaphore.
[SVN r31047]
|
2005-09-19 22:31:21 +00:00 |
|
Anthony Williams
|
7d59bbbad5
|
Set semaphore handle back to NULL on destruction
[SVN r31011]
|
2005-09-16 13:58:44 +00:00 |
|
Anthony Williams
|
c7a85f366c
|
New read_write_mutex implementation for win32. No try/timed varieties, and no support for read/write priority policies.
[SVN r30994]
|
2005-09-15 10:47:29 +00:00 |
|
Anthony Williams
|
8b3773f157
|
Trimmed included headers
[SVN r30986]
|
2005-09-14 15:44:28 +00:00 |
|
Anthony Williams
|
d3ee1b804a
|
Added new implementation of timed_mutex for win32
[SVN r30984]
|
2005-09-14 15:10:41 +00:00 |
|
Anthony Williams
|
48ff760e18
|
Remove references to WINTHREADS from the generic code, as windows threads handled in separate header
[SVN r30982]
|
2005-09-14 12:49:52 +00:00 |
|
Anthony Williams
|
ba0bdc6489
|
Use lightweight_mutex for mutex impl. Added basic condition implementation.
[SVN r30981]
|
2005-09-14 12:43:02 +00:00 |
|
Anthony Williams
|
953461904c
|
Added licence text
[SVN r30979]
|
2005-09-14 10:44:27 +00:00 |
|
Anthony Williams
|
c956bc9ad7
|
Moved lightweight_mutex_win32.hpp and mutex_win32.hpp into boost source tree
[SVN r30978]
|
2005-09-14 10:35:12 +00:00 |
|
Anthony Williams
|
91d88bb24a
|
Added lightweight_mutex_win32.hpp
[SVN r30977]
|
2005-09-14 10:18:33 +00:00 |
|
Anthony Williams
|
64b5b67661
|
Updated thread primitives to include semaphore functions
[SVN r30952]
|
2005-09-13 14:20:31 +00:00 |
|
Anthony Williams
|
b6f0ec7fd9
|
Moved win32 thread sync primitives to their own file
[SVN r30947]
|
2005-09-13 13:48:01 +00:00 |
|
Anthony Williams
|
e9c0b5e0c5
|
Nibble mask is 0x0f, not 0x7f
[SVN r30888]
|
2005-09-09 12:51:17 +00:00 |
|
Anthony Williams
|
4a005ea288
|
New version of call_once for win32
[SVN r30847]
|
2005-09-07 15:02:16 +00:00 |
|
Douglas Gregor
|
aa240e61d9
|
Clear up broken links, tabs, etc
[SVN r30077]
|
2005-07-14 15:47:04 +00:00 |
|
Douglas Gregor
|
2954e932ce
|
Fix test_read_write_mutex, from Tobias Schwinger
[SVN r29988]
|
2005-07-11 15:06:09 +00:00 |
|
Michael Glassford
|
3b237267fb
|
Added more debugging aids, assertions. Corrected errors, including hangs, at the cost or making the read-write mutex even larger. The whole read-write mutex is too complicated; the design needs to be revisited.
[SVN r27874]
|
2005-03-29 21:46:38 +00:00 |
|
Michael Glassford
|
6382846f6c
|
Add thread_group::size() method.
[SVN r27716]
|
2005-03-17 01:46:11 +00:00 |
|
Roland Schwarz
|
af9864a1b5
|
Making use of BOOST_HAS_DECLSPEC macro
[SVN r26801]
|
2005-01-22 13:22:29 +00:00 |
|
Michael Glassford
|
39f7afc7d0
|
Reword comment to make its meaning clearer.
[SVN r26453]
|
2004-12-06 21:00:16 +00:00 |
|
Michael Glassford
|
e500bc075e
|
Make recent xtime_get() changes more portable and easier to understand.
[SVN r25160]
|
2004-09-16 20:39:49 +00:00 |
|
Michael Glassford
|
5f27fb2607
|
Add newline to end of file.
[SVN r24976]
|
2004-09-08 15:58:40 +00:00 |
|
Michael Glassford
|
d977cedb78
|
Fix gcc warning about inline function being marked as dllimport.
[SVN r24975]
|
2004-09-08 15:57:03 +00:00 |
|
Stefan Slapeta
|
454b58cdf0
|
Configure Intel for Windows like MSVC
[SVN r24805]
|
2004-08-29 14:13:47 +00:00 |
|
Michael Glassford
|
33da34b4bf
|
Don't use subtraction to compare xtime.sec because it could overflow.
[SVN r24361]
|
2004-08-09 21:46:34 +00:00 |
|
Michael Glassford
|
4c7c7df89b
|
Fixed typos.
[SVN r24320]
|
2004-08-06 11:54:11 +00:00 |
|
Michael Glassford
|
515e6d8635
|
Completely restructured tss cleanup. Automatic tss cleanup in Win32 static Boost.Threads library now works for both VC++ 6 and 7.1 (probably also 7.0, but this hasn't been tested).
[SVN r24312]
|
2004-08-05 18:13:43 +00:00 |
|
Michael Glassford
|
bbd941e2df
|
Updated release notes for static liking of Boost.Threads to reflect recent changes.
[SVN r24311]
|
2004-08-05 18:08:09 +00:00 |
|
Michael Glassford
|
3edba1bf19
|
Changed default linking option on non-Win32 platforms from dynamic to static linking.
[SVN r24310]
|
2004-08-05 18:06:34 +00:00 |
|
Michael Glassford
|
4ad99d8242
|
Completely restructured tss cleanup. Automatic tss cleanup in Win32 static Boost.Threads library now works for both VC++ 6 and 7.1 (probably also 7.0, but this hasn't been tested).
[SVN r24307]
|
2004-08-05 17:33:07 +00:00 |
|
Michael Glassford
|
792be9e687
|
Add on_process_enter() and on_thread_enter(); make tss cleanup more robust.
[SVN r24258]
|
2004-08-03 01:38:04 +00:00 |
|