Hard disabling of per-thread allocation fault checking. No coming back from this, used on thread destruction.
| 77 | // Hard disabling of per-thread allocation fault checking. |
| 78 | // No coming back from this, used on thread destruction. |
| 79 | FEX_DEFAULT_VISIBILITY void YesIKnowImNotSupposedToUseTheGlibcAllocator::HardDisable() { |
| 80 | // Just set it to half of its maximum value so it never wraps back around. |
| 81 | SkipEvalForThread = std::numeric_limits<decltype(SkipEvalForThread)>::max() / 2; |
| 82 | } |
| 83 | |
| 84 | // Enable global fault checking. |
| 85 | void SetupFaultEvaluate() { |
nothing calls this directly
no outgoing calls
no test coverage detected