summaryrefslogtreecommitdiff
path: root/src/mongo/stdx/SConscript
AgeCommit message (Collapse)Author
2024-08-05SERVER-90253 Port the mongo base target to Bazel (#25616)Zack Winter
GitOrigin-RevId: 6e2b6292bb11e90ae81a16e413d8f092c9e962d7
2024-05-22SERVER-90615: Enable python formatting checks for src directory (#22299)Steve McClure
GitOrigin-RevId: af7d6593172a8a0ce01027a52d19de1d0215fb5b
2024-05-09SERVER-90252: port stdx (#21934)Udita
GitOrigin-RevId: be73efd5f41678b37eed8b251ddcdaacd2116ec6
2022-05-25SERVER-66490 Apply pylinters to build system codeTausif Rahman
2020-03-02SERVER-27896 Add support for enforcing single-thread contextAmirsaman Memaripour
2020-02-13SERVER-45301 Not all expected aliases are present in the ninja generator outputMathew Robinson
2019-10-25SERVER-15902 sigaltstack for workers and stdx::thread.Billy Donahue
2019-08-23SERVER-25240 Make `stdx::set_terminate` which works on windows.ADAM David Alan Martin
The `stdx::set_terminate` primitive, on windows, wraps the per-thread terminate handler and emulates a single global terminate handler.
2019-08-15SERVER-42080 `stdx::unordered_map<...>::at` must throw.ADAM David Alan Martin
Added a test to check that this happens.
2018-09-17SERVER-35679 General Interruption FacilityJason Carey
Add support for a generalized interruptibility facility in the server. This offers a generalized interruptibility facility, trialed in Future<T> and ProducerConsumerQueue<T>. It offers 3 major concepts: Notifyable: A type which can notified off-thread, causing a wake up from some kind of blocking wait Waitable: A type which is Notifyable, and also can perform work while in a ready-to-receive notification state. static methods offer support for running underneath condition_variable::wait's. The chief implementer is the transport layer baton type Interruptible: A type which can wait on condition variables, and offers: - deadlines. This means the type integrates some sort of clock source - interruptibility. This means the type offers a way of noticing that it should no longer run via status or exception Additionally, Interruptible's offer special scoped guards which offer - Exemption from interruption in a region defined by the lifetime of a guard object - Subsidiary deadlines which can trigger recursively, offering specialized timeout and status return support. The series of virtual types allows us to slice the interface between opCtx and future such that opctx can use future and future can use opctx. Additionally, cutting out more functionality allows us to flow a noop interruptibility type which unifies our waiting behind a common api.