Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common/thread: Remove unused functions | Lioncash | 2019-03-29 | 1 | -37/+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: Drop Hungarian notation on SetCurrentThreadName's parameter | Lioncash | 2018-11-22 | 1 | -7/+7 |
| | | | | This is inconsistent with our coding style. | ||||
* | common/thread: Remove SleepCurrentThread() | Lioncash | 2018-11-22 | 1 | -11/+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 | -10/+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. | ||||
* | Support mingw cross-compile | Jannik Vogel | 2016-12-05 | 1 | -1/+1 |
| | |||||
* | common: only FreeBSD has thread affinity compatible with Linux | Jan Beich | 2016-10-28 | 1 | -1/+5 |
| | | | | | | | | | | | src/common/thread.cpp:90:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t cpu_set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:48:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ 1 error generated. | ||||
* | common: define routines to set thread name on more BSDs | Jan Beich | 2016-10-28 | 1 | -2/+4 |
| | | | | | | | src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np' pthread_setname_np(pthread_self(), szThreadName); ^ 1 error generated. | ||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -2/+0 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -48/+32 |
| | |||||
* | Common: Cleanup thread includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -4/+13 |
| | |||||
* | Fix MSVC-related #defines and add CMakeLists comment | darkf | 2014-12-30 | 1 | -3/+3 |
| | |||||
* | Fix merge conflicts | darkf | 2014-12-30 | 1 | -2/+2 |
|\ | |||||
| * | License change | purpasmart96 | 2014-12-21 | 1 | -2/+2 |
| | | |||||
* | | Fix MinGW build | darkf | 2014-11-29 | 1 | -8/+15 |
|/ | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -3/+3 |
| | |||||
* | common: Prune all redundant includes | archshift | 2014-09-09 | 1 | -1/+0 |
| | |||||
* | Removed common/std_xyz, instead using the std header | archshift | 2014-09-07 | 1 | -4/+2 |
| | |||||
* | Use pthread_set_name_np() on OpenBSD. | Anthony J. Bentley | 2014-08-08 | 1 | -1/+3 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 1 | -2/+2 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 1 | -0/+133 |