| 56 | } |
| 57 | |
| 58 | void 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 | } |
no test coverage detected