- Jun 27, 2020
-
-
Fernando Sahmkow authored
General: Tune the priority of main emulation threads so they have higher priority than less important helper threads.
-
Fernando Sahmkow authored
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
-
- Apr 01, 2020
-
-
Vitor K authored
* IOFile: Make the move constructor and move assignment operator noexcept Certain parts of the standard library try to determine whether or not a transfer operation should either be a copy or a move. The prevalent notion of move constructors/assignment operators is that they should not throw, they simply move an already existing resource somewhere else. This is typically done with 'std::move_if_noexcept'. Like the name says, if a type's move constructor is noexcept, then the functions retrieves an r-value reference (for move semantics), or an l-value (for copy semantics) if it is not noexcept. As IOFile deletes the copy constructor and copy assignment operators, using IOFile with certain parts of the standard library can fail in unexcepted ways (especially when used with various container implementations). This prevents that. * fix various instances of -1 being assigned to unsigned types * do not assign in conditional statements * File/IOFile: Check _tfopen_s properly * common/file_util.cpp: address review comments Co-authored-by:
Lioncash <mathew1800@gmail.com> Co-authored-by:
Shawn Hoffman <godisgovernment@gmail.com> Co-authored-by:
Sepalani <sepalani@hotmail.fr>
-
- Mar 29, 2019
-
-
Lioncash authored
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.
-
- Nov 22, 2018
-
-
Lioncash authored
This is inconsistent with our coding style.
-
Lioncash authored
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.
-
Lioncash authored
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.
-
- Dec 05, 2016
-
-
Jannik Vogel authored
-
- Oct 27, 2016
-
-
Jan Beich authored
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.
-
Jan Beich authored
src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np' pthread_setname_np(pthread_self(), szThreadName); ^ 1 error generated.
-
- Sep 21, 2016
-
-
Emmanuel Gil Peyrot authored
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
-
- Sep 18, 2016
-
-
Emmanuel Gil Peyrot authored
-
- Jun 27, 2015
-
-
Emmanuel Gil Peyrot authored
-
- Dec 30, 2014
-
-
darkf authored
-
- Dec 21, 2014
-
-
purpasmart96 authored
-
- Nov 29, 2014
-
-
darkf authored
-
- Nov 19, 2014
-
-
Emmanuel Gil Peyrot authored
-
- Sep 09, 2014
-
-
archshift authored
-
- Sep 07, 2014
-
-
archshift authored
-
- Aug 08, 2014
-
-
Anthony J. Bentley authored
-
- Apr 09, 2014
-
-
bunnei authored
-
- Apr 08, 2014
-
-
bunnei authored
-
- Apr 01, 2014
-
-
bunnei authored
-
- Sep 05, 2013
-
-
ShizZy authored
-