Defines | Typedefs | Functions

pripcsem.h File Reference

#include "prtypes.h"
#include "prio.h"
Include dependency graph for nspr/pripcsem.h:
This graph shows which files directly or indirectly include this file:

Defines

#define PR_SEM_CREATE   0x1
#define PR_SEM_EXCL   0x2

Typedefs

typedef struct PRSem PRSem

Functions

PRSemPR_OpenSemaphore (const char *name, PRIntn flags, PRIntn mode, PRUintn value)
PRStatus PR_WaitSemaphore (PRSem *sem)
PRStatus PR_PostSemaphore (PRSem *sem)
PRStatus PR_CloseSemaphore (PRSem *sem)
PRStatus PR_DeleteSemaphore (const char *name)

Define Documentation

#define PR_SEM_CREATE   0x1
#define PR_SEM_EXCL   0x2

Typedef Documentation

typedef struct PRSem PRSem

Function Documentation

PRStatus PR_CloseSemaphore ( PRSem sem  ) 
PRStatus PR_DeleteSemaphore ( const char *  name  ) 
PRSem* PR_OpenSemaphore ( const char *  name,
PRIntn  flags,
PRIntn  mode,
PRUintn  value 
)
PRStatus PR_PostSemaphore ( PRSem sem  ) 
PRStatus PR_WaitSemaphore ( PRSem sem  )