mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
ThreadManager: Don't allow reordering of queue.
Allowing a priority item is faster, but can cause confusion when you expect things to run in the same sequence they're enqueued.
This commit is contained in:
1 parent
5521bd62d7
commit
3a6fa9b4ba
3 files changed
+10
-22
No files matched your search
@@ -48,7 +48,7 @@ public:
|
||||
void Init(int numCores, int numLogicalCoresPerCpu);
|
||||
void EnqueueTask(Task *task);
|
||||
// Use enforceSequence if this must run after all previously queued tasks.
|
||||
void EnqueueTaskOnThread(int threadNum, Task *task, bool enforceSequence = false);
|
||||
void EnqueueTaskOnThread(int threadNum, Task *task);
|
||||
void Teardown();
|
||||
|
||||
bool IsInitialized() const;
|
||||
|
||||
Reference in new issue
Block a user