Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: Switch to unique_ptr for usage of Common::Fiber. | bunnei | 2021-02-27 | 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. | ||||
* | common: fiber: Use boost::context instead of native fibers on Windows. | bunnei | 2020-11-29 | 1 | -9/+0 |
| | |||||
* | common/fiber: Move all member variables into impl class | Lioncash | 2020-11-07 | 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. | ||||
* | General: Fix clang build | Lioncash | 2020-11-05 | 1 | -2/+2 |
| | | | | Allows building on clang to work again | ||||
* | common: Enable warnings as errors | Lioncash | 2020-11-02 | 1 | -1/+1 |
| | | | | Cleans up common so that we can enable warnings as errors. | ||||
* | common/fiber: Take shared_ptr<Fiber> by copy in YieldTo | ReinUsesLisp | 2020-10-28 | 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. | ||||
* | Revert "core: Fix clang build" | bunnei | 2020-10-21 | 1 | -2/+2 |
| | |||||
* | core: Fix clang build | Lioncash | 2020-10-18 | 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 | ||||
* | common: Make use of [[nodiscard]] where applicable | Lioncash | 2020-08-15 | 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. | ||||
* | Common/Fiber: Address Feedback and Correct Memory leaks. | Fernando Sahmkow | 2020-06-18 | 1 | -8/+9 |
| | |||||
* | Common/Fiber: Implement Rewind on Boost Context. | Fernando Sahmkow | 2020-06-18 | 1 | -0/+2 |
| | |||||
* | Common/Fiber: Document fiber interexchange. | Fernando Sahmkow | 2020-06-18 | 1 | -1/+4 |
| | |||||
* | Common/Fiber: Implement Rewinding. | Fernando Sahmkow | 2020-06-18 | 1 | -0/+8 |
| | |||||
* | Common/Tests: Address Feedback | Fernando Sahmkow | 2020-06-18 | 1 | -4/+4 |
| | |||||
* | Common: Make MinGW build use Windows Fibers instead of fcontext_t | Fernando Sahmkow | 2020-06-18 | 1 | -2/+2 |
| | |||||
* | Common/Tests: Clang Format. | Fernando Sahmkow | 2020-06-18 | 1 | -1/+1 |
| | |||||
* | Common: Polish Fiber class, add comments, asserts and more tests. | Fernando Sahmkow | 2020-06-18 | 1 | -2/+12 |
| | |||||
* | Tests: Add tests for fibers and refactor/fix Fiber class | Fernando Sahmkow | 2020-06-18 | 1 | -3/+16 |
| | |||||
* | Common: Implement a basic Fiber class. | Fernando Sahmkow | 2020-06-18 | 1 | -0/+55 |