kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Functions
kinetic_countingsemaphore.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

KineticCountingSemaphore * KineticCountingSemaphore_Create (uint32_t max)
 
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  max)

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.