Back to index

lightning-sunbird  0.9+nobinonly
Functions
pripcsem.c File Reference
#include "primpl.h"

Go to the source code of this file.

Functions

PRSem_PR_MD_OPEN_SEMAPHORE (const char *osname, PRIntn flags, PRIntn mode, PRUintn value)
PRStatus _PR_MD_WAIT_SEMAPHORE (PRSem *sem)
PRStatus _PR_MD_POST_SEMAPHORE (PRSem *sem)
PRStatus _PR_MD_CLOSE_SEMAPHORE (PRSem *sem)
PRStatus _PR_MD_DELETE_SEMAPHORE (const char *osname)
 PR_IMPLEMENT (PRSem *)
 PR_IMPLEMENT (PRStatus)

Function Documentation

Definition at line 76 of file pripcsem.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
}

Definition at line 82 of file pripcsem.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
}
PRSem* _PR_MD_OPEN_SEMAPHORE ( const char *  osname,
PRIntn  flags,
PRIntn  mode,
PRUintn  value 
)

Definition at line 57 of file pripcsem.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return NULL;
}

Definition at line 70 of file pripcsem.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
}

Definition at line 64 of file pripcsem.c.

{
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
}

Definition at line 90 of file pripcsem.c.

{
    char osname[PR_IPC_NAME_SIZE];

    if (!_pr_initialized) _PR_ImplicitInitialization();
    if (_PR_MakeNativeIPCName(name, osname, sizeof(osname), _PRIPCSem)
            == PR_FAILURE) {
        return NULL;
    }
    return _PR_MD_OPEN_SEMAPHORE(osname, flags, mode, value);
}

Here is the call graph for this function:

Definition at line 103 of file pripcsem.c.

{
    return _PR_MD_WAIT_SEMAPHORE(sem);
}