manpagez: man pages & more
html files: libvips
Home | html | info | man

semaphore

semaphore

Types and Values

Description

Functions

vips_semaphore_up ()

int
vips_semaphore_up (VipsSemaphore *s);

vips_semaphore_down ()

int
vips_semaphore_down (VipsSemaphore *s);

vips_semaphore_upn ()

int
vips_semaphore_upn (VipsSemaphore *s,
                    int n);

vips_semaphore_downn ()

int
vips_semaphore_downn (VipsSemaphore *s,
                      int n);

vips_semaphore_destroy ()

void
vips_semaphore_destroy (VipsSemaphore *s);

vips_semaphore_init ()

void
vips_semaphore_init (VipsSemaphore *s,
                     int v,
                     char *name);

Types and Values

VipsSemaphore

typedef struct {
	char *name;
	int v;

	GMutex *mutex;
	GCond *cond;
} VipsSemaphore;
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.