[XThread] Remove 10ms delay in thread start
This commit is contained in:
committed by
Radosław Gliński
parent
263e91b014
commit
67d80958c9
@@ -527,11 +527,6 @@ void XThread::Execute() {
|
|||||||
// Let the kernel know we are starting.
|
// Let the kernel know we are starting.
|
||||||
kernel_state()->OnThreadExecute(this);
|
kernel_state()->OnThreadExecute(this);
|
||||||
|
|
||||||
// All threads get a mandatory sleep. This is to deal with some buggy
|
|
||||||
// games that are assuming the 360 is so slow to create threads that they
|
|
||||||
// have time to initialize shared structures AFTER CreateThread (RR).
|
|
||||||
xe::threading::Sleep(std::chrono::milliseconds(10));
|
|
||||||
|
|
||||||
// Dispatch any APCs that were queued before the thread was created first.
|
// Dispatch any APCs that were queued before the thread was created first.
|
||||||
DeliverAPCs();
|
DeliverAPCs();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user