Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common/thread: Fix data race in is_set | ReinUsesLisp | 2020-08-26 | 1 | -4/+5 |
| | | | | | As report by tsan, Event::Set can write is_set while WaitFor and friends are reading from it. To address this issue, make is_set an atomic. | ||||
* | General: Tune the priority of main emulation threads so they have higher priority than less important helper threads. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+9 |
| | |||||
* | Tests: Add base tests to host timing | Fernando Sahmkow | 2020-06-18 | 1 | -2/+2 |
| | |||||
* | Address second part of review comments | FearlessTobi | 2020-01-23 | 1 | -1/+1 |
| | |||||
* | Input: UDP Client to provide motion and touch controls | fearlessTobi | 2020-01-23 | 1 | -0/+9 |
| | | | | | | | | An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com> | ||||
* | general: Use deducation guides for std::lock_guard and std::unique_lock | Lioncash | 2019-04-01 | 1 | -5/+5 |
| | | | | | | | Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future. | ||||
* | common/thread: Remove unused functions | Lioncash | 2019-03-29 | 1 | -4/+0 |
| | | | | | | | | | | Many of these functions are carried over from Dolphin (where they aren't used anymore). Given these have no use (and we really shouldn't be screwing around with OS-specific thread scheduler handling from the emulator, these can be removed. The function for setting the thread name is left, however, since it can have debugging utility usages. | ||||
* | common/thread: Make Barrier's 'count' member non-const | Lioncash | 2018-11-22 | 1 | -1/+1 |
| | | | | | | | | | | While admirable as a means to ensure immutability, this has the unfortunate downside of making the class non-movable. std::move cannot actually perform a move operation if the provided operand has const data members (std::move acts as an operation to "slide" resources out of an object instance). Given Barrier contains move-only types such as std::mutex, this can lead to confusing error messages if an object ever contained a Barrier instance and said object was attempted to be moved. | ||||
* | common/thread: Initialize class member variables where applicable | Lioncash | 2018-11-22 | 1 | -6/+4 |
| | | | | Simplifies the constructor interfaces for Barrier and Event classes. | ||||
* | common/thread: Group non-member functions together | Lioncash | 2018-11-22 | 1 | -3/+2 |
| | | | | | Keeps the non-member interface in one spot instead of split into two places, making it nicer to locate functions. | ||||
* | common/thread: Remove SleepCurrentThread() | Lioncash | 2018-11-22 | 1 | -1/+0 |
| | | | | | | | This is also unused and superceded by standard functionality. The standard library provides std::this_thread::sleep_for(), which provides a much more flexible interface, as different time units can be used with it. | ||||
* | common/thread: Remove unused CurrentThreadId() | Lioncash | 2018-11-22 | 1 | -2/+0 |
| | | | | | | This is an old function that's no longer necessary. C++11 introduced proper threading support to the language and a thread ID can be retrieved via std::this_thread::get_id() if it's ever needed. | ||||
* | common/thread: remove YieldCPU() | Weiyi Wang | 2018-09-22 | 1 | -8/+0 |
| | | | | simply use the standard library yield() | ||||
* | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -5/+5 |
| | |||||
* | common/thread: Remove unnecessary feature checking for thread_local | Lioncash | 2018-04-20 | 1 | -19/+0 |
| | | | | Every compiler we require already supports it. | ||||
* | Common::Event: add WaitUntil | wwylele | 2016-12-26 | 1 | -0/+10 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -1/+0 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -4/+2 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -18/+22 |
| | |||||
* | Thread: Make Barrier reusable | MerryMage | 2016-04-14 | 1 | -5/+5 |
| | |||||
* | common/thread: Correct code style | MerryMage | 2016-04-14 | 1 | -21/+19 |
| | |||||
* | Common: Cleanup thread includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -14/+2 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -1/+0 |
| | |||||
* | Common: thread.h cleanups | Yuri Kunde Schlesner | 2015-04-16 | 1 | -65/+16 |
| | | | | | The helper classes are rendered obsolete by C++11 lambdas. Also made formatting conform to our code style. | ||||
* | Add profiling infrastructure and widget | Yuri Kunde Schlesner | 2015-03-02 | 1 | -0/+19 |
| | |||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -2/+2 |
| | |||||
* | New logging system | Yuri Kunde Schlesner | 2014-12-13 | 1 | -0/+1 |
| | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -4/+4 |
| | |||||
* | Remove extraneous semicolons | Lioncash | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | Removed common/std_xyz, instead using the std header | archshift | 2014-09-07 | 1 | -4/+3 |
| | |||||
* | Common: Move remaining C header includes over to their C++ equivalent | Lioncash | 2014-08-17 | 1 | -2/+2 |
| | |||||
* | Common: Move header guards over to pragma once | Lioncash | 2014-08-17 | 1 | -4/+1 |
| | | | | Also replaced C headers with the C++ equivalent ones | ||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 1 | -4/+4 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+156 |