Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-03-07 | common: Fiber: use a reference for YieldTo. | bunnei | 1 | -1/+1 | |
- Fixes another small leak. | |||||
2021-03-06 | common: fiber: Use weak_ptr when yielding. | bunnei | 1 | -1/+1 | |
- Avoids a memory leak, as taking a strong reference of the fiber here causes a circular reference. - Supersedes #6006 with a more narrow fix. | |||||
2021-03-06 | Revert "core: Switch to unique_ptr for usage of Common::Fiber." | bunnei | 1 | -2/+2 | |
2021-02-27 | core: Switch to unique_ptr for usage of Common::Fiber. | bunnei | 1 | -2/+2 | |
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer. | |||||
2020-11-29 | common: fiber: Use boost::context instead of native fibers on Windows. | bunnei | 1 | -9/+0 | |
2020-11-07 | common/fiber: Move all member variables into impl class | Lioncash | 1 | -17/+3 | |
Hides all of the implementation details for users of the class. This has the benefit of reducing includes and also making the fiber classes movable again. | |||||
2020-11-05 | General: Fix clang build | Lioncash | 1 | -2/+2 | |
Allows building on clang to work again | |||||
2020-11-02 | common: Enable warnings as errors | Lioncash | 1 | -1/+1 | |
Cleans up common so that we can enable warnings as errors. | |||||
2020-10-28 | common/fiber: Take shared_ptr<Fiber> by copy in YieldTo | ReinUsesLisp | 1 | -1/+1 | |
YieldTo does not intend to modify the passed shared_ptrs. Pass it by copy to keep a reference count while this function executes. | |||||
2020-10-21 | Revert "core: Fix clang build" | bunnei | 1 | -2/+2 | |
2020-10-18 | core: Fix clang build | Lioncash | 1 | -2/+2 | |
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | |||||
2020-08-15 | common: Make use of [[nodiscard]] where applicable | Lioncash | 1 | -1/+1 | |
Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions. | |||||
2020-06-18 | Common/Fiber: Address Feedback and Correct Memory leaks. | Fernando Sahmkow | 1 | -8/+9 | |
2020-06-18 | Common/Fiber: Implement Rewind on Boost Context. | Fernando Sahmkow | 1 | -0/+2 | |
2020-06-18 | Common/Fiber: Document fiber interexchange. | Fernando Sahmkow | 1 | -1/+4 | |
2020-06-18 | Common/Fiber: Implement Rewinding. | Fernando Sahmkow | 1 | -0/+8 | |
2020-06-18 | Common/Tests: Address Feedback | Fernando Sahmkow | 1 | -4/+4 | |
2020-06-18 | Common: Make MinGW build use Windows Fibers instead of fcontext_t | Fernando Sahmkow | 1 | -2/+2 | |
2020-06-18 | Common/Tests: Clang Format. | Fernando Sahmkow | 1 | -1/+1 | |
2020-06-18 | Common: Polish Fiber class, add comments, asserts and more tests. | Fernando Sahmkow | 1 | -2/+12 | |
2020-06-18 | Tests: Add tests for fibers and refactor/fix Fiber class | Fernando Sahmkow | 1 | -3/+16 | |
2020-06-18 | Common: Implement a basic Fiber class. | Fernando Sahmkow | 1 | -0/+55 | |