MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / DestroyThread

Method DestroyThread

FEXCore/Source/Interface/Core/Core.cpp:424–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void ContextImpl::DestroyThread(FEXCore::Core::InternalThreadState* Thread) {
425 FEXCore::Allocator::VirtualProtect(&Thread->InterruptFaultPage, sizeof(Thread->InterruptFaultPage),
426 Allocator::ProtectOptions::Read | Allocator::ProtectOptions::Write);
427 delete Thread;
428}
429
430#ifndef _WIN32
431void ContextImpl::UnlockAfterFork(FEXCore::Core::InternalThreadState* LiveThread, bool Child) {

Callers

nothing calls this directly

Calls 1

VirtualProtectFunction · 0.85

Tested by

no test coverage detected