Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-11-22 | common/thread: Make Barrier's 'count' member non-const | Lioncash | 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. | |||||
2018-11-22 | common/thread: Initialize class member variables where applicable | Lioncash | 1 | -6/+4 | |
Simplifies the constructor interfaces for Barrier and Event classes. | |||||
2018-11-22 | common/thread: Group non-member functions together | Lioncash | 1 | -3/+2 | |
Keeps the non-member interface in one spot instead of split into two places, making it nicer to locate functions. | |||||
2018-11-22 | common/thread: Remove SleepCurrentThread() | Lioncash | 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. | |||||
2018-11-22 | common/thread: Remove unused CurrentThreadId() | Lioncash | 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. | |||||
2018-09-22 | common/thread: remove YieldCPU() | Weiyi Wang | 1 | -8/+0 | |
simply use the standard library yield() | |||||
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -5/+5 | |
2018-04-20 | common/thread: Remove unnecessary feature checking for thread_local | Lioncash | 1 | -19/+0 | |
Every compiler we require already supports it. | |||||
2016-12-26 | Common::Event: add WaitUntil | wwylele | 1 | -0/+10 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -1/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -4/+2 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -18/+22 | |
2016-04-14 | Thread: Make Barrier reusable | MerryMage | 1 | -5/+5 | |
2016-04-14 | common/thread: Correct code style | MerryMage | 1 | -21/+19 | |
2015-06-28 | Common: Cleanup thread includes. | Emmanuel Gil Peyrot | 1 | -14/+2 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -1/+0 | |
2015-04-16 | Common: thread.h cleanups | Yuri Kunde Schlesner | 1 | -65/+16 | |
The helper classes are rendered obsolete by C++11 lambdas. Also made formatting conform to our code style. | |||||
2015-03-02 | Add profiling infrastructure and widget | Yuri Kunde Schlesner | 1 | -0/+19 | |
2014-12-21 | License change | purpasmart96 | 1 | -2/+2 | |
2014-12-13 | New logging system | Yuri Kunde Schlesner | 1 | -0/+1 | |
2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 1 | -4/+4 | |
2014-11-18 | Remove extraneous semicolons | Lioncash | 1 | -1/+1 | |
2014-09-07 | Removed common/std_xyz, instead using the std header | archshift | 1 | -4/+3 | |
2014-08-17 | Common: Move remaining C header includes over to their C++ equivalent | Lioncash | 1 | -2/+2 | |
2014-08-17 | Common: Move header guards over to pragma once | Lioncash | 1 | -4/+1 | |
Also replaced C headers with the C++ equivalent ones | |||||
2014-04-09 | fixed project includes to use new directory structure | bunnei | 1 | -4/+4 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2014-04-02 | convert tabs to spaces | bunnei | 1 | -96/+96 | |
2013-09-05 | replaced common code with dolphin common | ShizZy | 1 | -0/+156 | |