kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Functions
kinetic_countingsemaphore.c File Reference
#include "kinetic_countingsemaphore.h"
#include "kinetic_countingsemaphore_types.h"
#include "kinetic_logger.h"
#include <stdlib.h>
#include <assert.h>

Go to the source code of this file.

Functions

KineticCountingSemaphore * KineticCountingSemaphore_Create (uint32_t counts)
 
void KineticCountingSemaphore_Take (KineticCountingSemaphore *const sem)
 
void KineticCountingSemaphore_Give (KineticCountingSemaphore *const sem)
 
void KineticCountingSemaphore_Destroy (KineticCountingSemaphore *const sem)
 

Function Documentation

KineticCountingSemaphore* KineticCountingSemaphore_Create ( uint32_t  counts)

Definition at line 26 of file kinetic_countingsemaphore.c.

void KineticCountingSemaphore_Take ( KineticCountingSemaphore *const  sem)

Definition at line 38 of file kinetic_countingsemaphore.c.

References KINETIC_ASSERT, and LOGF3.

void KineticCountingSemaphore_Give ( KineticCountingSemaphore *const  sem)

Definition at line 60 of file kinetic_countingsemaphore.c.

References KINETIC_ASSERT, and LOGF3.

void KineticCountingSemaphore_Destroy ( KineticCountingSemaphore *const  sem)

Definition at line 79 of file kinetic_countingsemaphore.c.

References KINETIC_ASSERT.