diff options
| author | 2018-02-18 14:11:34 -0500 | |
|---|---|---|
| committer | 2018-02-18 14:11:34 -0500 | |
| commit | ec39c9eb321e88697448091b95842adb18cb485f (patch) | |
| tree | 49cd0eb8264d5ac6eb47179b41c83848f25078a9 /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #200 from Subv/bufferproducerfence (diff) | |
| parent | Kernel/IPC: Add a small delay after each SyncRequest to prevent thread starv... (diff) | |
| download | yuzu-ec39c9eb321e88697448091b95842adb18cb485f.tar.gz yuzu-ec39c9eb321e88697448091b95842adb18cb485f.tar.xz yuzu-ec39c9eb321e88697448091b95842adb18cb485f.zip | |
Merge pull request #201 from Subv/ipc_delay_
Kernel/IPC: Add a small delay after each SyncRequest to prevent thread starvation.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 0a1ada27d..bbffaf4cf 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -40,6 +40,7 @@ enum ThreadStatus { | |||
| 40 | THREADSTATUS_READY, ///< Ready to run | 40 | THREADSTATUS_READY, ///< Ready to run |
| 41 | THREADSTATUS_WAIT_ARB, ///< Waiting on an address arbiter | 41 | THREADSTATUS_WAIT_ARB, ///< Waiting on an address arbiter |
| 42 | THREADSTATUS_WAIT_SLEEP, ///< Waiting due to a SleepThread SVC | 42 | THREADSTATUS_WAIT_SLEEP, ///< Waiting due to a SleepThread SVC |
| 43 | THREADSTATUS_WAIT_IPC, ///< Waiting for the reply from an IPC request | ||
| 43 | THREADSTATUS_WAIT_SYNCH_ANY, ///< Waiting due to WaitSynch1 or WaitSynchN with wait_all = false | 44 | THREADSTATUS_WAIT_SYNCH_ANY, ///< Waiting due to WaitSynch1 or WaitSynchN with wait_all = false |
| 44 | THREADSTATUS_WAIT_SYNCH_ALL, ///< Waiting due to WaitSynchronizationN with wait_all = true | 45 | THREADSTATUS_WAIT_SYNCH_ALL, ///< Waiting due to WaitSynchronizationN with wait_all = true |
| 45 | THREADSTATUS_DORMANT, ///< Created but not yet made ready | 46 | THREADSTATUS_DORMANT, ///< Created but not yet made ready |