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

semaphore.h File Reference


Detailed Description

IPRT - Semaphore.

Definition in file semaphore.h.

#include <iprt/cdefs.h>
#include <iprt/types.h>

Go to the source code of this file.

Classes

struct  RTPINGPONG

Defines

RTSemSpinMutexCreate flags.
#define RTSEMSPINMUTEX_FLAGS_IRQ_SAFE   RT_BIT_32(0)
#define RTSEMSPINMUTEX_FLAGS_VALID_MASK   UINT32_C(0x00000001)

Typedefs

typedef RTPINGPONGPRTPINGPONG

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 (uint32_t) RTSemRWGetWriteRecursion(RTSEMRW RWSem)
 RTDECL (bool) RTSemRWIsWriteOwner(RTSEMRW RWSem)
 RTDECL (int) RTSemEventCreate(PRTSEMEVENT pEventSem)

Variables

unsigned cMillies
uint32_t fFlags


Generated by  Doxygen 1.6.0   Back to index