mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-06-01 17:27:59 +00:00
Rename thread
This commit is contained in:
parent
bb862bf600
commit
5c1eb4d2bf
@ -34,6 +34,7 @@ namespace Recovery
|
||||
|
||||
void PlayAudio()
|
||||
{
|
||||
TaskManager->GetCurrentThread()->Rename("PlayAudio Test");
|
||||
SmartLock(PlayAudioLock);
|
||||
Driver::DriverFile AudioDrv;
|
||||
|
||||
@ -73,6 +74,7 @@ namespace Recovery
|
||||
debug("Audio played! %d", status);
|
||||
KernelAllocator.FreePages((void *)PCMRaw, TO_PAGES(pcm->node->Length));
|
||||
vfs->Close(pcm);
|
||||
TEXIT(0);
|
||||
}
|
||||
|
||||
void PlayAudioWrapper() { TaskManager->CreateThread(TaskManager->GetCurrentProcess(), (IP)PlayAudio)->SetPriority(Tasking::TaskPriority::Idle); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user