summaryrefslogtreecommitdiff
path: root/src/mongo/stdx/sigaltstack_location_test.cpp
AgeCommit message (Collapse)Author
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2023-06-27SERVER-77047 SERVER-77048 IWYU automated changes up to end ratio 0.8Daniel Moody
2023-05-17SERVER-77193 Centralize the macro definition of __has_feature into one placeMark Benvenuto
2023-02-11SERVER-72197 Run clang-format 12.0.1 on the codebaseclang-format 12.0.1
Signed-off-by: Ryan Egesdahl <ryan.egesdahl@mongodb.com>
2023-01-20SERVER-72935 switch c stdlib headers to cpp compat stdlib headersDaniel Moody
2022-07-07SERVER-9434 Audit and Normalize Process Exit CodesMatt Kneiser
- Put all references to ExitCode enumerators under an enum class to namespace all the enumerators and avoid polluting the mongo namespace with possible naming collisions. - Added magic-number exit codes to exit_code.h like 50 & 51 (LauncherMiddleError & LauncherError respectively). - Reserved a range of exit codes to account for FreeBSD's usage of 64-78. - Renamed all enums with removal of EXIT_ which could conflict or get confused with built-in macros. - camelCased all ExitCode enum values. - Added the generic - ExitCode::fail - for returning 1 as failure. - Added explicit dependency on the exit_code.h header for all files using ExitCode's. - Removed all references to implementation-defined exit codes like EXIT_FAILURE and EXIT_SUCCESS. - Narrowed return values of the shell's undocumented quit() argument to portable values within 0-255, 0/ExitCode::clean otherwise. - Deprecated 8 unused ExitCode's - java - oomMalloc - oomRealloc - fs - clockSkew - windowsServiceStop - possibleCorruption - test - Wrapped the 2 Windows-only ExitCode's in #ifdef's - ntServiceError - windowsServiceStop
2021-08-18SERVER-59231 Add GCC 11 and clang 12 canary builders in C++17 modeAndrew Morrow
2020-11-23SERVER-48696 sigaction actions need to all be extern "C"Gabriel Russell
2020-06-11SERVER-48597 Fix stack trace unit tests with TSANRyan Egesdahl
Stack trace unit tests were failing with TSAN due to the mechanisms and assumptions of the tests. In one case, we simulate a real failure and do some thread necromancy to recover from it, which was causing TSAN to segfault immediately. In another two, we rely on a feature that makes some assumptions about which threads are running and what signals they can receive, which TSAN's internal threads violate. These tests and features are disabled with TSAN for now so we can run further tests with TSAN. Separately, one of the tests was failing with a complaint from TSAN that errno was being stomped on. That is also addressed.
2019-10-25SERVER-15902 sigaltstack for workers and stdx::thread.Billy Donahue