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

void kLdrDyldSemRelease ( void   ) 

Releases the loader semaphore ownership. The caller is responsible for making sure it's the semaphore owner!

Definition at line 181 of file kLdrDyldSem.c.

References g_Semaphore.

Referenced by kLdrDyldFindByAddress(), kLdrDyldFindByName(), kLdrDyldGetFilename(), kLdrDyldGetName(), kLdrDyldLoad(), kLdrDyldQuerySymbol(), and kLdrDyldUnload().

    /* not too sure about this... */
    kern_return_t krc = semaphore_signal(g_Semaphore);
    kHlpAssert(krc == KERN_SUCCESS); (void)krc;

#elif K_OS == K_OS_OS2
    APIRET rc = DosReleaseMutexSem(g_hmtx);
    kHlpAssert(!rc); (void)rc;

#elif  K_OS == K_OS_WINDOWS

# error "port me"

Generated by  Doxygen 1.6.0   Back to index