summaryrefslogtreecommitdiffstats
path: root/src/common/fiber.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-11-29common: fiber: Use boost::context instead of native fibers on Windows.bunnei1-9/+0
2020-11-07common/fiber: Move all member variables into impl classLioncash1-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-05General: Fix clang buildLioncash1-2/+2
Allows building on clang to work again
2020-11-02common: Enable warnings as errorsLioncash1-1/+1
Cleans up common so that we can enable warnings as errors.
2020-10-28common/fiber: Take shared_ptr<Fiber> by copy in YieldToReinUsesLisp1-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-21Revert "core: Fix clang build"bunnei1-2/+2
2020-10-18core: Fix clang buildLioncash1-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-15common: Make use of [[nodiscard]] where applicableLioncash1-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-18Common/Fiber: Address Feedback and Correct Memory leaks.Fernando Sahmkow1-8/+9
2020-06-18Common/Fiber: Implement Rewind on Boost Context.Fernando Sahmkow1-0/+2
2020-06-18Common/Fiber: Document fiber interexchange.Fernando Sahmkow1-1/+4
2020-06-18Common/Fiber: Implement Rewinding.Fernando Sahmkow1-0/+8
2020-06-18Common/Tests: Address FeedbackFernando Sahmkow1-4/+4
2020-06-18Common: Make MinGW build use Windows Fibers instead of fcontext_tFernando Sahmkow1-2/+2
2020-06-18Common/Tests: Clang Format.Fernando Sahmkow1-1/+1
2020-06-18Common: Polish Fiber class, add comments, asserts and more tests.Fernando Sahmkow1-2/+12
2020-06-18Tests: Add tests for fibers and refactor/fix Fiber classFernando Sahmkow1-3/+16
2020-06-18Common: Implement a basic Fiber class.Fernando Sahmkow1-0/+55