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 Windows. On windows, TLS destructors are managed by std.

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