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

void kLdrModFreeTLS ( PKLDRMOD  pMod  ) 

Frees Thread Local Storage previously allocated by kLdrModAllocTLS().

The caller is responsible for only calling kLdrModFreeTLS() once after calling kLdrModAllocTLS().

Returns:
0 on success, non-zero OS or kLdr status code on failure.
Parameters:
pMod The module.

Definition at line 572 of file kLdrMod.c.

References KLDRMOD_VALIDATE_VOID, KLDRMODOPS::pfnFreeTLS, and KLDRMOD::pOps.

Referenced by BasicTestsSubMap2(), kldrDyldModDestroy(), kldrDyldModReload(), and kldrDyldModUnmap().

{
    KLDRMOD_VALIDATE_VOID(pMod);
    pMod->pOps->pfnFreeTLS(pMod);
}


Generated by  Doxygen 1.6.0   Back to index