Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hle: kernel: Use std::mutex instead of spin locks for most kernel locking. | bunnei | 2022-04-12 | 1 | -2/+3 |
| | |||||
* | common: fiber: YieldTo: Avoid hard crash on nullptr previous_fiber. | bunnei | 2022-01-15 | 1 | -1/+4 |
| | | | | - When the emulator crashes to desktop below, we don't even get this captured in a log, making such issues harder to debug. | ||||
* | fiber: Double default stack size | MerryMage | 2021-03-10 | 1 | -1/+1 |
| | | | | Stack overflow occurs with some guest applications | ||||
* | common: Fiber: use a reference for YieldTo. | bunnei | 2021-03-07 | 1 | -7/+5 |
| | | | | - Fixes another small leak. | ||||
* | common: fiber: Use weak_ptr when yielding. | bunnei | 2021-03-06 | 1 | -7/+12 |
| | | | | | - Avoids a memory leak, as taking a strong reference of the fiber here causes a circular reference. - Supersedes #6006 with a more narrow fix. | ||||
* | Revert "core: Switch to unique_ptr for usage of Common::Fiber." | bunnei | 2021-03-06 | 1 | -7/+7 |
| | |||||
* | core: Switch to unique_ptr for usage of Common::Fiber. | bunnei | 2021-02-27 | 1 | -7/+7 |
| | | | | | - 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 VirtualBuffer for stack memory. | bunnei | 2020-11-29 | 1 | -2/+5 |
| | | | | - This will be aligned by default, and helps memory usage. | ||||
* | common: fiber: Use boost::context instead of native fibers on Windows. | bunnei | 2020-11-29 | 1 | -106/+8 |
| | |||||
* | common/fiber: Move all member variables into impl class | Lioncash | 2020-11-07 | 1 | -72/+83 |
| | | | | | | 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. | ||||
* | common: Enable warnings as errors | Lioncash | 2020-11-02 | 1 | -4/+4 |
| | | | | 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 | -2/+2 |
| | | | | | YieldTo does not intend to modify the passed shared_ptrs. Pass it by copy to keep a reference count while this function executes. | ||||
* | Core/Common: Address Feedback. | Fernando Sahmkow | 2020-06-28 | 1 | -7/+3 |
| | |||||
* | Common/Fiber: Address Feedback and Correct Memory leaks. | Fernando Sahmkow | 2020-06-18 | 1 | -26/+32 |
| | |||||
* | Common/Fiber: Implement Rewind on Boost Context. | Fernando Sahmkow | 2020-06-18 | 1 | -2/+37 |
| | |||||
* | Common/Fiber: Implement Rewinding. | Fernando Sahmkow | 2020-06-18 | 1 | -2/+30 |
| | |||||
* | Common/Fiber: Additional corrections to f_context. | Fernando Sahmkow | 2020-06-18 | 1 | -4/+4 |
| | |||||
* | Common/Fiber: Correct f_context based Fibers. | Fernando Sahmkow | 2020-06-18 | 1 | -6/+8 |
| | |||||
* | Core/HostTiming: Allow events to be advanced manually. | Fernando Sahmkow | 2020-06-18 | 1 | -1/+1 |
| | |||||
* | Common/Tests: Address Feedback | Fernando Sahmkow | 2020-06-18 | 1 | -3/+2 |
| | |||||
* | 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 | -11/+10 |
| | |||||
* | Common: Correct fcontext fibers. | Fernando Sahmkow | 2020-06-18 | 1 | -5/+4 |
| | |||||
* | Common: Polish Fiber class, add comments, asserts and more tests. | Fernando Sahmkow | 2020-06-18 | 1 | -22/+33 |
| | |||||
* | Tests: Add tests for fibers and refactor/fix Fiber class | Fernando Sahmkow | 2020-06-18 | 1 | -16/+16 |
| | |||||
* | Common: Implement a basic Fiber class. | Fernando Sahmkow | 2020-06-18 | 1 | -0/+147 |