core/win32/os.c
/* sets detach in motion and never returns */
sets detach in motion and never returns
sets detach in motion and never returns
void
detach_internal_synch()
{
    dcontext_t *dcontext = get_thread_private_dcontext();
    detach_internal();
    enter_threadexit(dcontext);
    adjust_wait_at_safe_spot(dcontext, 1);
    check_wait_at_safe_spot(dcontext, THREAD_SYNCH_VALID_MCONTEXT);
}
void detach_internal_synch ( ) { dcontext_t * dcontext = get_thread_private_dcontext ( ) ; detach_internal ( ) ; enter_threadexit ( dcontext ) ; adjust_wait_at_safe_spot ( dcontext , 1 ) ; check_wait_at_safe_spot ( dcontext , THREAD_SYNCH_VALID_MCONTEXT ) ; }
sets detach in motion and never returns
sets detach in motion and never returns
/* to be safe with flush */ /* make sure we spin forever */