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

int kldrDyldModAttachThread ( PKLDRDYLDMOD  pMod  ) 

Calls the thread attach entry point if any.

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

Definition at line 1107 of file kLdrDyldMod.c.

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

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

    return kLdrModCallThread(pMod->pMod, (KUPTR)pMod->hMod, 1 /* attach */);
}


Generated by  Doxygen 1.6.0   Back to index