2
0
mirror of https://github.com/boostorg/sync.git synced 2026-01-19 16:52:11 +00:00

Commit Graph

  • 565db4d1e6 Adding missing ifdef check in auto_reset_event to detect native semaphores. André Bergner 2017-01-26 20:24:50 +01:00
  • 825a9379b2 doc: add cvs/mutexes/events to reference Tim Blechmann 2016-10-30 22:32:49 +08:00
  • e92e22365e Add, and update, documentation build targets. Rene Rivera 2016-10-07 23:07:36 -05:00
  • bc1d9fd30c Merge pull request #3 from fdetro/system_time_point_warning_fixes Tim Blechmann 2016-09-01 16:04:27 +02:00
  • 2a7749912a use standardized timespec types for casts (http://en.cppreference.com/w/c/chrono/timespec), this ensures compatibility to C++03 Franz Detro 2016-09-01 16:02:34 +02:00
  • 9f46bf135b fix 64 to 32 bit conversion warning with clang on MacOS (::timespec::tv_sec is 32 bit on MacOS) Franz Detro 2016-09-01 12:35:15 +02:00
  • 8ffa2807f4 Updated Boost.WinAPI includes to avoid using deprecated headers. Also use wide-character API unconditionally to simplify code. Andrey Semashev 2016-01-31 22:38:11 +03:00
  • 0e9077596f Added a boostdoc target to unify Boost release docs building. Andrey Semashev 2016-01-06 21:07:39 +03:00
  • 094d35195a Added a workaround for Android NDK not defining SYS_futex. Andrey Semashev 2015-08-23 20:57:25 +03:00
  • 9103c79d88 sync: resource_error - explicit int cast enum class std::errc Tim Blechmann 2015-08-01 11:23:12 +02:00
  • d209e26234 Added a workaround for compilation failure with MSVC 14 RC due to constexpr DR1911. Andrey Semashev 2015-05-17 18:49:32 +03:00
  • 31857b15f7 Added libraries.json. Andrey Semashev 2015-01-08 14:15:16 +03:00
  • fae51081cf semaphores: windows - include missing header Tim Blechmann 2014-09-04 19:37:54 +02:00
  • 0de4bcfc97 Use #pragma intrinsic only with MSVC. Andrey Semashev 2014-08-30 14:13:39 +04:00
  • b7318903e6 Removed non-ASCII characters from comment. Andrey Semashev 2014-06-12 22:41:02 +04:00
  • 2d00f78401 Switched from BOOST_ATTRIBUTE_NORETURN to BOOST_NORETURN. Andrey Semashev 2014-06-05 01:02:00 +04:00
  • 1b5aaa4a0b Corrected memory order in some cases. Andrey Semashev 2014-06-01 12:33:26 +04:00
  • 44d48257a7 Changed Boost.Log to Boost.Sync in the supported compilers section. Fixes #9388. Andrey Semashev 2013-11-14 10:10:00 +00:00
  • 9d83b8446c Fixed compilation on FreeBSD. Andrey Semashev 2013-11-04 12:53:53 +00:00
  • 1121d4c549 Fixed notify functions behavior. Andrey Semashev 2013-11-03 15:08:19 +00:00
  • 6e0c5a96e2 Silenced a warnong about initialization order. Andrey Semashev 2013-11-01 15:29:16 +00:00
  • ca529a1709 sync: add shared_spin_mutex Tim Blechmann 2013-10-28 10:05:25 +00:00
  • 75485b52ca Fixed compilation with gcc. Andrey Semashev 2013-10-27 16:22:39 +00:00
  • 6ad2dc87cd Added more tests. Andrey Semashev 2013-10-27 16:11:25 +00:00
  • ca1b41bd7f Total waiter count updates made more efficient. Andrey Semashev 2013-10-27 13:20:44 +00:00
  • d6876af298 Fixed total waiter count updates. Andrey Semashev 2013-10-27 13:07:25 +00:00
  • 18f6670cd9 sync: introduce spin_mutex Tim Blechmann 2013-10-26 12:32:33 +00:00
  • b3224da60c Added at_thread_exit. Added support for thread_specific_ptr cleanup on its destruction. Andrey Semashev 2013-10-26 11:44:21 +00:00
  • ef0a2ef221 Added pragma once. Andrey Semashev 2013-10-25 17:40:42 +00:00
  • 061917c2a5 Added implementation of thread_specific_ptr. Andrey Semashev 2013-10-25 17:38:08 +00:00
  • f42476fd27 Minor API cleanup. Andrey Semashev 2013-10-25 16:51:18 +00:00
  • f4db2ab189 Implemented notify_all_at_thread_exit, condition_variable_any and manual_reset_event (emulation). Timed mutex tests re-enabled. Added support for compiler-based TLS on non-Windows targets. Andrey Semashev 2013-10-25 16:35:13 +00:00
  • 5a1d1b322d semaphore: mach - c++11/clang fixes Tim Blechmann 2013-10-22 20:07:27 +00:00
  • 573b61fa89 sync: dispatch semaphores - fix wait_until Tim Blechmann 2013-10-22 20:07:08 +00:00
  • a689a10bae Fixed compilation for Windows XP. Andrey Semashev 2013-10-22 18:31:30 +00:00
  • ad22edc058 Added support for compiler-based TLS. Andrey Semashev 2013-10-22 18:23:22 +00:00
  • b3bfd5cbec TSS manager is now deleted on process exit on Windows. Andrey Semashev 2013-10-22 17:59:44 +00:00
  • d5b3e0705a Added a reference to the TLS cleanup hooks on Windows. Andrey Semashev 2013-10-22 16:35:54 +00:00
  • b6e25c6d10 Fixed compilation on Windows. Andrey Semashev 2013-10-22 14:04:00 +00:00
  • 0bccb7b758 Added preliminary implementation of internal TLS. Andrey Semashev 2013-10-22 13:31:21 +00:00
  • 82ed6263f4 Use gettimeofday for system clock on Mach platform. Andrey Semashev 2013-10-21 10:23:24 +00:00
  • 962538d785 A sketch for TSS API. Andrey Semashev 2013-10-20 15:52:44 +00:00
  • eb00dacf07 Made timed_mutex incompatible with condition variable when mutex_timedwait is not available. The test had to be disabled for now because it requires condition_variable_any. Andrey Semashev 2013-10-20 13:54:27 +00:00
  • aee4acc3ae Enabled CV and timed mutex tests. Andrey Semashev 2013-10-19 16:14:35 +00:00
  • aa317ed6d5 Fixed semaphore test. Andrey Semashev 2013-10-19 13:53:56 +00:00
  • 302bcf7e66 Fixed include. Andrey Semashev 2013-10-19 10:23:37 +00:00
  • fcbcbd467b Compilation fixes. Andrey Semashev 2013-10-18 22:52:21 +00:00
  • e84bab0d31 Changed futex API adapters so that it is more obvious that the timeout is relative. Fixed timeouts handling in auto-reset futex event. Andrey Semashev 2013-10-18 14:31:29 +00:00
  • 6516bf9735 Events separated into different headers and ported to the time units abstraction layer. Andrey Semashev 2013-10-18 14:00:03 +00:00
  • a3f9ca957e Added myself to the list of the authors (because of the timed functions). Andrey Semashev 2013-10-16 14:34:56 +00:00
  • 5aebb54489 Ported semaphore implementation to the time units abstraction layer. Andrey Semashev 2013-10-15 16:49:34 +00:00
  • 1ad69af54c Removed BOOST_SYNC_USE_WINAPI_VERSION and replaced its use with BOOST_USE_WINAPI_VERSION. Andrey Semashev 2013-10-14 21:19:12 +00:00
  • 062eca0cd2 Added support for WinAPI version specification. Andrey Semashev 2013-10-14 21:06:05 +00:00
  • de00866a41 sync: fix include path Tim Blechmann 2013-10-12 07:14:28 +00:00
  • 4147321f15 Resolved warnings. Andrey Semashev 2013-10-09 18:26:48 +00:00
  • 8825ea4463 Completed Windows CV, ported test utils to Boost.Sync primitives. Andrey Semashev 2013-10-09 14:11:50 +00:00
  • 481cf1ce1c Proceeding with Windows CV implementation. Andrey Semashev 2013-10-09 11:21:51 +00:00
  • a26a2be4ae Optimized exception throwing and other code to help inlining. Windows mutex implementation now throws in case of errors. Andrey Semashev 2013-10-08 17:05:55 +00:00
  • 869f6ab1f9 Fixed WinAPI compilation. Ported timed mutex to waitable timer. Windows time points are now aligned with FILETIME to reduce conversion overhead when used with waitable timers. Andrey Semashev 2013-10-07 17:41:43 +00:00
  • 1ffe629f3d Fixed semaphore name composition. Andrey Semashev 2013-10-06 17:41:28 +00:00
  • f7171b196c Boost.Sync: Added preliminary implementation of a waitable timer for fixed time point waits. Updated WinAPI functions to contain the required APIs. Andrey Semashev 2013-10-06 17:40:19 +00:00
  • 2cc12efe96 Reworked futex auto-reset event to eliminate missed posts problem. Andrey Semashev 2013-10-04 19:02:11 +00:00
  • 39b1898d46 Added namespace qualifiers for atomic symbols. Reworked futex-based auto-reset event. Andrey Semashev 2013-10-02 19:16:29 +00:00
  • 86f7e79646 Fixed compilation on Linux. Andrey Semashev 2013-09-30 19:23:49 +00:00
  • b52b6a0592 Finished POSIX condition_variable, working on Windows. Andrey Semashev 2013-09-29 16:42:24 +00:00
  • 21dffa39de Fixed a typo. Andrey Semashev 2013-09-28 20:15:45 +00:00
  • 4f061c0875 Added a header with formal declarations of futex operations. Andrey Semashev 2013-09-28 18:07:51 +00:00
  • aa829aeada sync: event - split event into auto_reset_event and manual_reset_event Tim Blechmann 2013-09-28 08:58:43 +00:00
  • 993332f584 Fixed building with clang + libstdc++ in C++03 mode. Shortened namespace aliases and made std/boost::atomic selection similar to std/boost::system_error. Andrey Semashev 2013-09-26 20:55:46 +00:00
  • 7c7589b6a2 Create branch to keep WIP patch for modular build. svn-branches/modular-build Vladimir Prus 2013-09-25 08:12:19 +00:00
  • 6a3dc3660d Minor code cleanup. Andrey Semashev 2013-09-23 20:30:48 +00:00
  • 72316674bb sync: atomic - detect support for std::atomic Tim Blechmann 2013-09-23 10:03:44 +00:00
  • 6d0f9300c1 sync: semaphores - wrap mach semaphores Tim Blechmann 2013-09-23 09:27:55 +00:00
  • 4e6ecd6cb9 sync: implement autoreset event for sync semaphores Tim Blechmann 2013-09-23 09:27:34 +00:00
  • 06715f940b sync: cleanup handling of atomics & fences Tim Blechmann 2013-09-23 09:27:12 +00:00
  • b450efaddd sync: document semantics of memory ordering Tim Blechmann 2013-09-23 08:39:02 +00:00
  • 335547bf85 sync: use std::atomic if available Tim Blechmann 2013-09-23 08:03:14 +00:00
  • 70c672f3c2 sync: event - fix mach-semaphore emulation Tim Blechmann 2013-09-23 07:41:33 +00:00
  • 44e43bfa4f sync: provide pause instruction via detail::pause() Tim Blechmann 2013-09-23 07:41:08 +00:00
  • 31c0fb4e29 Minor cleanup. Andrey Semashev 2013-09-22 16:54:58 +00:00
  • 046502c3e6 Implementing condition_variable. Work in progress. Andrey Semashev 2013-09-22 16:54:09 +00:00
  • 925d03aa9f Added support for more time libraries. Andrey Semashev 2013-09-22 12:48:29 +00:00
  • 19661f0c5b Simplified the code a little. Andrey Semashev 2013-09-21 20:33:14 +00:00
  • 46b66ba54b Fixed compilation. Andrey Semashev 2013-09-21 19:26:42 +00:00
  • c49f7f1e8a Ported timed mutex for Windows. Changed time units to allow for non-system clocks. Minor fixes. Andrey Semashev 2013-09-21 19:03:30 +00:00
  • 1023e55dc7 sync: event - prototype futex-based event Tim Blechmann 2013-09-21 09:21:30 +00:00
  • c96b22286d Fixed incorrect macro test. Andrey Semashev 2013-09-20 19:03:54 +00:00
  • 2a0f780e33 Extracted other lock types to fix compilation in C++03 mode. Andrey Semashev 2013-09-20 18:43:32 +00:00
  • 235081b4cb Fixed compilation on OS X. Andrey Semashev 2013-09-20 16:49:51 +00:00
  • 9f5f913a71 Fixed incorrect check in unlock(). Andrey Semashev 2013-09-19 21:15:15 +00:00
  • a7c77d4c8e Fixed compilation. Andrey Semashev 2013-09-19 21:13:25 +00:00
  • 3ea72f8b28 Bug fixes. Preliminary test for mutex added. Andrey Semashev 2013-09-19 20:27:08 +00:00
  • 009a37c3dc Removed use of the deprecated test_exec_monitor. Andrey Semashev 2013-09-19 19:27:41 +00:00
  • ae618e5c49 To avoid name clashes with Boost.Thread, renamed boost::detail::win32 namespace to winapi. Also renamed the directory with headers accordingly. Adjusted Boost.Chrono and Boost.Sync to reflect the changes. Andrey Semashev 2013-09-19 17:58:24 +00:00
  • a699308d62 sync: semaphore - partially revert r85779 Tim Blechmann 2013-09-19 09:04:19 +00:00
  • 8a479ff330 sync: event/semaphore - annotate functions with noexcept Tim Blechmann 2013-09-19 09:00:49 +00:00
  • b11d325c04 sync: semaphore - use wording from ion's paper Tim Blechmann 2013-09-19 09:00:23 +00:00
  • 486d8bfa70 sync: event - reorder members of cv emulation Tim Blechmann 2013-09-19 08:16:17 +00:00
  • 0911836f65 sync: event - avoid possible ABA problem in mach implementation Tim Blechmann 2013-09-19 08:15:59 +00:00
  • b93cc9e830 sync: event - cv emulation should use shared locking to allow multiple waiters Tim Blechmann 2013-09-19 08:15:37 +00:00