Classes | Defines | Typedefs | Functions

sem.h File Reference

Implements mutex semaphore in mmap'ed file. More...

#include "../params.h"
Include dependency graph for sem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  semaphore

Defines

#define SEM_LOCKING_REGION_SIZE   (4)

Typedefs

typedef struct semaphore semaphore_t

Functions

void semaphore_close (semaphore_t *semap, int &fd)
semaphore_tsemaphore_create (const char *semaphore_name, int &fd)
semaphore_tsemaphore_open (const char *semaphore_name, int &fd)
void semaphore_post (semaphore_t *semap)
bool semaphore_wait (semaphore_t *semap, unsigned long timeout=0)

Detailed Description

Implements mutex semaphore in mmap'ed file.

Definition in file sem.h.


Generated on Sat Aug 7 2010 15:24:34 for VooDoo cIRCle by doxygen 1.7.1

Get VooDoo cIRCle at SourceForge.net. Fast, secure and Free Open Source software downloads