mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-05 20:39:16 +00:00
Changed a lot of files. Summary: profiler support; "SafeFunction"; UnlockDeadLock kernel config; Code optimization & more
This commit is contained in:
@ -126,24 +126,10 @@ namespace InterProcessCommunication
|
||||
return IPCError{IPCIDNotFound};
|
||||
}
|
||||
|
||||
void IPCServiceStub()
|
||||
{
|
||||
trace("IPC Service Started.");
|
||||
TaskManager->GetCurrentThread()->SetPriority(1);
|
||||
// TODO: do something useful here, like, IPC event viewer or smth...
|
||||
while (1)
|
||||
{
|
||||
// The scheduler doesn't like CPU::Pause for some reason. :/
|
||||
}
|
||||
}
|
||||
|
||||
IPC::IPC()
|
||||
{
|
||||
SmartLock(IPCLock);
|
||||
trace("Starting IPC Service...");
|
||||
Vector<AuxiliaryVector> auxv;
|
||||
Tasking::TCB *thd = TaskManager->CreateThread(TaskManager->GetCurrentProcess(), (Tasking::IP)IPCServiceStub, nullptr, nullptr, auxv);
|
||||
thd->Rename("IPC Service");
|
||||
}
|
||||
|
||||
IPC::~IPC()
|
||||
|
Reference in New Issue
Block a user