trait EvalContextPrivExt<'mir, 'tcx: 'mir>: MiriEvalContextExt<'mir, 'tcx> {
    fn schedule_windows_tls_dtors(&mut self) -> InterpResult<'tcx> { ... }
    fn schedule_macos_tls_dtor(&mut self) -> InterpResult<'tcx, bool> { ... }
    fn schedule_next_pthread_tls_dtor(&mut self) -> InterpResult<'tcx, bool> { ... }
}

Provided Methods

Schedule TLS destructors for the main thread on Windows. The implementation assumes that we do not support concurrency on Windows yet.

Schedule the MacOS thread destructor of the thread local storage to be executed. Returns true if scheduled.

Note: It is safe to call this function also on other Unixes.

Schedule a pthread TLS destructor. Returns true if found a destructor to schedule, and false otherwise.

Implementors