2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-22 17:52:18 +00:00

Commit Graph

  • 96a04402db Merge from HEAD. Allow building of shared versions of some Boost.Test libraries. Adjust tests to use always use static linking to Boost.Test, since linking to the shared version requires test changes. Vladimir Prus 2006-11-10 19:59:52 +00:00
  • 0e44838905 Allow building of shared versions of some Boost.Test libraries. Adjust tests to use always use static linking to Boost.Test, since linking to the shared version requires test changes. Vladimir Prus 2006-11-10 19:09:56 +00:00
  • 78e644c7c1 removed docs for read_write_mutex Anthony Williams 2006-11-10 15:51:13 +00:00
  • 89cc7fc34e Remove obsolete Boost.Build v1 files. Rene Rivera 2006-11-06 17:10:46 +00:00
  • e2550db927 More tests for try_lock_shareable Anthony Williams 2006-11-06 12:17:34 +00:00
  • 0d763fe627 Added try_lock_shareable Anthony Williams 2006-11-06 09:32:26 +00:00
  • 974754598e Removed recursive_mutex from library builds and regression testing for RC_1_34_0 branch. Roland Schwarz 2006-11-03 04:39:17 +00:00
  • 87acbb406d Forced read_write_mutex unusable for RC_1_34_0 branch. Roland Schwarz 2006-11-03 04:37:45 +00:00
  • 597517157c Updated documentation for the RC_1_34_0 branch to reflect current state of read_write_mutex. Roland Schwarz 2006-11-03 04:05:55 +00:00
  • 9895e74560 Added upgradeable stuff Anthony Williams 2006-10-30 21:36:44 +00:00
  • a0b816be8c Get rid of dll import warnings for noncopyable classes Roland Schwarz 2006-10-30 19:35:40 +00:00
  • 64cd268fc7 Get rid of dll import warnings for nocopyable classes Roland Schwarz 2006-10-30 19:27:51 +00:00
  • 82aa808b3b Current read-write mutex impl doesn't support upgrading Anthony Williams 2006-10-27 15:18:59 +00:00
  • fb683c8d95 New, fairer and faster read-write mutex algorithm Anthony Williams 2006-10-27 15:18:00 +00:00
  • 4a056924d2 Added a warning about usage of read_write_mutex. Roland Schwarz 2006-10-20 17:26:18 +00:00
  • 819c67d52b Increased count limits to use all available space in state field; extracted create_anonymous_event; ensure shared event is correctly set Anthony Williams 2006-10-18 13:15:41 +00:00
  • 95a476a4cc Updated tests for read_write_mutex, and fixed initialization of events Anthony Williams 2006-10-17 17:22:57 +00:00
  • d5a81f990c Inified spelling of thread library in documentation. (singular) Added RC_1_34_0 release notes. Roland Schwarz 2006-10-15 14:52:54 +00:00
  • f048dd81f2 Merged changes from RC_1_34_0 Roland Schwarz 2006-10-15 10:27:28 +00:00
  • 5746f2214c cosmetics Roland Schwarz 2006-10-15 10:10:47 +00:00
  • 099af669d4 Made fail of cleanup test for native API a warning. Roland Schwarz 2006-10-15 10:03:35 +00:00
  • 79cac706a7 Unified spelling of thread library in documentation. (singular) Roland Schwarz 2006-10-13 16:48:50 +00:00
  • df229074ac Made size() a constant member function. Roland Schwarz 2006-10-13 16:41:51 +00:00
  • 191c27e856 Added missing #include Anthony Williams 2006-10-12 16:30:27 +00:00
  • e5ee01b43c Remove spurious #endif Anthony Williams 2006-10-12 14:52:43 +00:00
  • c46b040f6f Applied some of David Deakins' patches for WinCE Anthony Williams 2006-10-10 07:34:48 +00:00
  • c4625de938 Updated read-write mutex implementation to support upgradeable locks too Anthony Williams 2006-10-05 14:42:08 +00:00
  • eeb77fdd87 New look read-write mutex Anthony Williams 2006-10-05 09:38:31 +00:00
  • da8c92f057 Reverted last checkin. Works when patching the compiler. Markus Schöpflin 2006-10-05 08:08:40 +00:00
  • 7aed765a77 Only get the semaphore once at the beginning of lock/timed_lock Anthony Williams 2006-10-05 07:34:28 +00:00
  • 5a4f798320 Avoid doing an extra CAS if the same number of threads are waiting when we wake up as when we go to sleep Anthony Williams 2006-10-04 11:28:26 +00:00
  • 8f611e4d19 Improved algorithm of basic_timed_mutex, and changed boost::mutex to use that as the underlying type Anthony Williams 2006-10-04 11:09:55 +00:00
  • a646f1c818 Changed tests that rely on condition variables to use the new basic_condition<lock_type> rather than plain condition Anthony Williams 2006-10-04 11:06:24 +00:00
  • 866b33c808 Untabified file Roland Schwarz 2006-10-03 18:23:06 +00:00
  • 3d4743972e New lock algorithm with Anthony Williams 2006-10-03 10:16:22 +00:00
  • 182daf0b17 Disabled certain borland warnings Roland Schwarz 2006-10-02 21:22:49 +00:00
  • 2552febc2a Made non-availability of automatic TSS cleanup for native Windows threads a warning instead of an error. Roland Schwarz 2006-10-02 21:19:55 +00:00
  • eb9db9b683 Added changes for MSVC 7.0 Roland Schwarz 2006-10-02 18:17:26 +00:00
  • 11dbdfca4d added assertions around gettimeofday and clock_gettime Roland Schwarz 2006-10-02 09:45:28 +00:00
  • f49de9ec10 Disable threading tests on Tru64/GCC-4.1.1. Markus Schöpflin 2006-10-02 09:07:47 +00:00
  • 3a7e569a65 Test if this turns regressions green on win x64 platforms Roland Schwarz 2006-10-02 07:49:04 +00:00
  • c376c1a62a Removed the "intentional memory leak" of the TSS implementation. Roland Schwarz 2006-10-01 12:57:18 +00:00
  • 72e4794f5b Removed the "intentional memory leak" of the TSS implementation Roland Schwarz 2006-09-29 19:24:19 +00:00
  • fbbc52063a avoid complaints of boostinspect about unnamed namespace usage Roland Schwarz 2006-09-29 07:49:51 +00:00
  • 78b4fe3d07 avoid complaints of boostinspect about unnamed namespace usage Roland Schwarz 2006-09-29 07:36:49 +00:00
  • 553aad753b Experimental change to template the whole condition variable on the lock type, rather than the wait functions Anthony Williams 2006-09-28 11:41:14 +00:00
  • f8a08dfaad condition doesn't need to be a friend of these classes in the new implementation Anthony Williams 2006-09-28 11:31:40 +00:00
  • c30b65a0ea Added #ifdef _WIN64 around a direct call to InterlockedCompareExchange rather than the existing call through ice_wrapper. The platform SDK library for Win64 doesn't include a library version of InterlockedCompareExchange which the ice_wrapper code requires. Anthony Williams 2006-09-26 16:31:41 +00:00
  • b8c8b250b1 Removed try catch(...) from thread proxy Roland Schwarz 2006-09-26 03:05:06 +00:00
  • b26d01c8d7 Fixed on of the memory leaks related to TSS Roland Schwarz 2006-09-25 23:53:10 +00:00
  • 956ed86655 Added missing include Anthony Williams 2006-09-25 09:09:02 +00:00
  • e258fb3fe9 Added pthread compile comments for win32 Roland Schwarz 2006-09-24 13:55:47 +00:00
  • 676eb029b8 Examples compile with bbv1 Roland Schwarz 2006-09-24 13:08:22 +00:00
  • 6459de79c3 More sources added Roland Schwarz 2006-09-23 15:37:42 +00:00
  • af774310ef disable MSVC DLL warnings for derivation from noncopyable Roland Schwarz 2006-09-22 17:00:21 +00:00
  • b1c5977064 cleaned up time conversions for pthread implementation Roland Schwarz 2006-09-22 16:56:06 +00:00
  • d92430c8ee Added explicit check for value!=0, to remove warning Anthony Williams 2006-09-22 10:31:25 +00:00
  • ce384ef3d8 Ensure thread handle is closed correctly. Fix race conditions on notify. Anthony Williams 2006-09-22 09:41:34 +00:00
  • c2cfd16c6c replaced <library-file> by <library> Roland Schwarz 2006-09-21 16:31:56 +00:00
  • fcfd30f124 Don't unlink a thread that's been notified when it wakes, as the unlink is done as part of the notify Hold the gate whilst we notify all the waiting threads, so they don't unlink out from under us. Anthony Williams 2006-09-20 10:06:49 +00:00
  • 20cc8e6c30 corrected PTW32_LIB variable Roland Schwarz 2006-09-19 20:59:40 +00:00
  • 4bff122033 We don't need to lock round every notify when notifying all, since we've already isolated the list Anthony Williams 2006-09-19 14:11:45 +00:00
  • 49e437f11e using modules.peek to access environment variables for pthread Roland Schwarz 2006-09-18 19:28:28 +00:00
  • 63bad0ad64 build support for boost.build v2 Roland Schwarz 2006-09-18 18:47:47 +00:00
  • 33ff838081 <sysinclude> really needs to refer to $(BOOST_ROOT). Relative paths not working. Roland Schwarz 2006-09-18 18:02:29 +00:00
  • 1cb08ff60c Changed Boost.Thread to use the Boost license. Hartmut Kaiser 2006-09-14 23:02:29 +00:00
  • 4dbd8a66af Changed Boost.Thread to use the Boost license. Hartmut Kaiser 2006-09-14 23:02:29 +00:00
  • cb4d739fd1 Changed Boost.Thread to use the Boost license. Hartmut Kaiser 2006-09-14 21:51:01 +00:00
  • 11f913e8fb added BSL for files with authors in blanket_permissions.txt Anthony Williams 2006-09-13 14:11:49 +00:00
  • 0b6054a919 added boostinspect:nolicense to files with old license from William Kempf Anthony Williams 2006-09-13 08:54:53 +00:00
  • e7620a1050 added boostinspect:nolicense to files with old license from William Kempf Anthony Williams 2006-09-13 08:33:30 +00:00
  • d3d7fd9317 Added call to TlsFree Anthony Williams 2006-08-07 16:34:54 +00:00
  • 5328b43191 Serialize the final checks, too, so we don't get race conditions in the BOOST_CHECK_EQUAL in call_once_thread Anthony Williams 2006-08-07 16:32:26 +00:00
  • 7aac1e69af New once test under BSL Anthony Williams 2006-08-07 16:31:32 +00:00
  • 94207924ad Eliminated some "magic numbers" Anthony Williams 2006-08-07 16:14:42 +00:00
  • 3671f1792d compiler choked on conversion to long in function get_milliseconds_until_time Roland Schwarz 2006-08-04 16:57:57 +00:00
  • 3da29cb470 corrected typo Roland Schwarz 2006-08-04 10:39:46 +00:00
  • 4448aa7fb9 disable warnings of non dll base class for noncopyable. This is necessary for bbv2 since the warning level now is W3 Roland Schwarz 2006-08-04 10:35:19 +00:00
  • acf0f97663 Simplification, avoids a false leak report Peter Dimov 2006-07-24 19:00:30 +00:00
  • 71358d8842 Allow examples to be built out of boost source tree. Roland Schwarz 2006-07-17 10:19:36 +00:00
  • 5366b629d3 Fallback to time if neither gettimeofday nor clock_gettime available. Roland Schwarz 2006-07-17 10:17:12 +00:00
  • 01b2d5c088 bbv1 Jamfile restructured Roland Schwarz 2006-07-17 10:15:17 +00:00
  • 8d22f58bc3 Native files now without platform tag. Roland Schwarz 2006-07-17 10:12:43 +00:00
  • be64ba98b3 Ensure all checks are guarded by a mutex, to avoid race conditions in the test library Anthony Williams 2006-07-10 20:53:56 +00:00
  • 34bd87cea7 Moved the on_thread_exit call to a destructor Peter Dimov 2006-07-06 19:47:12 +00:00
  • 228f11262e Removed the infamous catch(...) Peter Dimov 2006-07-06 13:45:13 +00:00
  • ad551dd333 xtime source added Roland Schwarz 2006-06-16 13:40:30 +00:00
  • 1e055e618d try_lock should throw if already locked Anthony Williams 2006-06-15 20:10:42 +00:00
  • 46064d1b20 Added test to ensure that try_lock locks if not already locked Anthony Williams 2006-06-15 20:01:37 +00:00
  • 08cf6a81a5 Changes test_scoped_try_lock over to being a templated test case Anthony Williams 2006-06-14 07:52:29 +00:00
  • 8ce25c6ecd Changed scoped_lock_test to templated test case, in order to get better error messages Anthony Williams 2006-06-14 07:48:05 +00:00
  • 01f93931cb timed_mutex and recursive_timed_mutex have scoped_locks Anthony Williams 2006-06-14 07:31:13 +00:00
  • 0d3f4a0b7c recursive_try_mutex has both a scoped_lock and a scoped_try_lock Anthony Williams 2006-06-13 21:08:02 +00:00
  • 29a1903c4b recursive_mutex::scoped_lock should support scoped_lock concept Anthony Williams 2006-06-13 20:36:27 +00:00
  • 08041bf58e try_mutex locks throw if unlocked twice Anthony Williams 2006-06-08 16:39:21 +00:00
  • 781794aa2d Templated test_throws_if_unlock_called_when_already_unlocked Anthony Williams 2006-06-08 16:32:40 +00:00
  • 36c1198113 Added more tests for try_mutex::scoped_try_lock Anthony Williams 2006-06-08 16:31:15 +00:00
  • 552dfff988 try_mutex_scoped_lock throws if you try and lock it twice Anthony Williams 2006-06-08 16:30:14 +00:00
  • 6efc06f50c templated test_throws_if_lock_called_when_already_locked Anthony Williams 2006-06-08 16:22:33 +00:00
  • e72cb93fe0 Templated test_locked_after_lock_called Anthony Williams 2006-06-08 14:53:02 +00:00