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
sourcefn schedule_windows_tls_dtors(&mut self) -> InterpResult<'tcx>
fn schedule_windows_tls_dtors(&mut self) -> InterpResult<'tcx>
Schedule TLS destructors for Windows. On windows, TLS destructors are managed by std.
sourcefn schedule_macos_tls_dtor(&mut self) -> InterpResult<'tcx, bool>
fn schedule_macos_tls_dtor(&mut self) -> InterpResult<'tcx, bool>
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.
sourcefn schedule_next_pthread_tls_dtor(&mut self) -> InterpResult<'tcx, bool>
fn schedule_next_pthread_tls_dtor(&mut self) -> InterpResult<'tcx, bool>
Schedule a pthread TLS destructor. Returns true
if found
a destructor to schedule, and false
otherwise.