Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

void kldrDyldModDetachThread ( PKLDRDYLDMOD  pMod  ) 

Calls the thread detach entry point if any.

Returns:
0 on success, non-zero on failure.
Parameters:
pMod The module.

Definition at line 1120 of file kLdrDyldMod.c.

References KLDRDYLDMOD::enmState, KLDRDYLDMOD::hMod, KLDRDYLDMOD_ASSERT, kLdrModCallThread(), KLDRSTATE_GOOD, and KLDRDYLDMOD::pMod.

{
    KLDRDYLDMOD_ASSERT(pMod->enmState == KLDRSTATE_GOOD);

    kLdrModCallThread(pMod->pMod, (KUPTR)pMod->hMod, 0 /* detach */);
}


Generated by  Doxygen 1.6.0   Back to index