Fixed race conditions

This commit is contained in:
Alex
2023-02-19 01:54:38 +02:00
parent 07738ddb0a
commit 3f3db40026
2 changed files with 3 additions and 11 deletions

View File

@ -154,10 +154,8 @@ namespace NetworkInterfaceManager
void NetworkInterface::StartService()
{
CPU::Interrupts(CPU::Disable);
this->NetSvcThread = TaskManager->CreateThread(TaskManager->GetCurrentProcess(), (Tasking::IP)CallStartNetworkStackWrapper);
this->NetSvcThread->Rename("Network Service");
CPU::Interrupts(CPU::Enable);
}
void NetworkInterface::DrvSend(unsigned int DriverID, unsigned char *Data, unsigned short Size)