core/win32/os.c
/* sets detach in motion and then returns */
sets detach in motion and then returns
sets detach in motion and then returns
void
detach_internal()
{
    SELF_UNPROTECT_DATASEC(DATASEC_RARELY_PROT);
    internal_detach = true;
    SELF_PROTECT_DATASEC(DATASEC_RARELY_PROT);
    LOG(GLOBAL, LOG_ALL, 1, "Starting detach\n");
    nudge_internal(NUDGE_GENERIC(detach), NULL, 0 );
    LOG(GLOBAL, LOG_ALL, 1, "Created detach thread\n");
}
void detach_internal ( ) { SELF_UNPROTECT_DATASEC ( DATASEC_RARELY_PROT ) ; internal_detach = true ; SELF_PROTECT_DATASEC ( DATASEC_RARELY_PROT ) ; LOG ( GLOBAL , LOG_ALL , 1 , " \n " ) ; nudge_internal ( NUDGE_GENERIC ( detach ) , NULL , 0 ) ; LOG ( GLOBAL , LOG_ALL , 1 , " \n " ) ; }
sets detach in motion and then returns
sets detach in motion and then returns
/* we go ahead and re-protect though detach thread will soon un-prot */ /* ignored */