MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Remove

Method Remove

Source/Engine/Threading/ThreadRegistry.cpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void ThreadRegistry::Remove(Thread* thread)
59{
60 ASSERT(thread && thread->GetID() != 0);
61 Locker.Lock();
62#if ENABLE_ASSERTION_LOW_LAYERS
63 Thread** currentValue = Registry.TryGet(thread->GetID());
64 ASSERT_LOW_LAYER(!currentValue || *currentValue == thread);
65#endif
66 Registry.Remove(thread->GetID());
67 Locker.Unlock();
68}

Callers 7

~TaskGraphSystemMethod · 0.45
RemoveDependencyMethod · 0.45
RemoveSystemMethod · 0.45
RemovePatchMethod · 0.45
OnDisableMethod · 0.45
ImportModelMethod · 0.45

Calls 4

GetIDMethod · 0.80
LockMethod · 0.80
UnlockMethod · 0.80
TryGetMethod · 0.45

Tested by

no test coverage detected