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

Classes | Typedefs | Enumerations | Functions | Variables

semaphore.h File Reference

#include <iprt/cdefs.h>
#include <iprt/types.h>
Include dependency graph for semaphore.h:

Go to the source code of this file.

Classes

struct  RTPINGPONG

Defines

RTSemMutexCreateEx flags
#define RTSEMEVENT_FLAGS_NO_LOCK_VAL   UINT32_C(0x00000001)
#define RTSEMEVENTMULTI_FLAGS_NO_LOCK_VAL   UINT32_C(0x00000001)
#define RTSEMMUTEX_FLAGS_NO_LOCK_VAL   UINT32_C(0x00000001)
RTSemSpinMutexCreate flags.
#define RTSEMSPINMUTEX_FLAGS_IRQ_SAFE   RT_BIT_32(0)
#define RTSEMSPINMUTEX_FLAGS_VALID_MASK   UINT32_C(0x00000001)
RTSemRWCreateEx flags
#define RTSEMRW_FLAGS_NO_LOCK_VAL   UINT32_C(0x00000001)

Typedefs

typedef RTPINGPONGPRTPINGPONG
typedef struct RTPINGPONG RTPINGPONG
typedef enum RTPINGPONGSPEAKER RTPINGPONGSPEAKER

Enumerations

enum  RTPINGPONGSPEAKER {
  RTPINGPONGSPEAKER_UNINITIALIZE = 0, RTPINGPONGSPEAKER_PING, RTPINGPONGSPEAKER_PONG_SIGNALED, RTPINGPONGSPEAKER_PONG,
  RTPINGPONGSPEAKER_PING_SIGNALED, RTPINGPONGSPEAKER_HACK = 0x7fffffff
}

Functions

 DECLINLINE (bool) RTSemPingIsSpeaker(PRTPINGPONG pPP)
 RTDECL (void) RTSemEventSetSignaller(RTSEMEVENT hEventSem
 RTDECL (bool) RTSemMutexIsOwned(RTSEMMUTEX hMutexSem)
 RTDECL (uint32_t) RTSemMutexSetSubClass(RTSEMMUTEX hMutexSem
 RTDECL (int) RTSemEventCreate(PRTSEMEVENT phEventSem)

Variables

RTMSINTERVAL cMillies
uint32_t fFlags
bool fWannaHear
uint32_t RTLOCKVALCLASS hClass
RTTHREAD hThread
uint32_t RTLOCKVALCLASS const
char * 
pszNameFmt
RTMSINTERVAL RTHCUINTPTR RT_SRC_POS_DECL
RTMSINTERVAL RTHCUINTPTR uId
uint32_t RTLOCKVALCLASS uint32_t uSubClass

Detailed Description

IPRT - Semaphore.

Definition in file semaphore.h.


Generated by  Doxygen 1.6.0   Back to index