| 906 | } |
| 907 | |
| 908 | void MCore::Thread::Attach() |
| 909 | { |
| 910 | if (!IsInMainThread() && !mono_domain_get()) |
| 911 | { |
| 912 | const auto domain = GetActiveDomain(); |
| 913 | ASSERT(domain); |
| 914 | mono_thread_attach(domain->GetNative()); |
| 915 | } |
| 916 | } |
| 917 | |
| 918 | void MCore::Thread::Exit() |
| 919 | { |
nothing calls this directly
no test coverage detected