forked from xt-sys/exectos
Initialize thread service table
This commit is contained in:
@@ -172,7 +172,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
|
|||||||
Thread->AdjustReason = AdjustNone;
|
Thread->AdjustReason = AdjustNone;
|
||||||
|
|
||||||
/* Set the thread service table */
|
/* Set the thread service table */
|
||||||
Thread->ServiceTable = NULLPTR;
|
Thread->ServiceTable = KE::SystemServices::GetSystemServicesDescriptorTable();
|
||||||
|
|
||||||
/* Initialize thread lock */
|
/* Initialize thread lock */
|
||||||
KE::SpinLock::InitializeSpinLock(&Thread->ThreadLock);
|
KE::SpinLock::InitializeSpinLock(&Thread->ThreadLock);
|
||||||
|
|||||||
Reference in New Issue
Block a user