cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Functions
semaphore.c File Reference
#include "crypt.h"
#include "kernel/acl.h"
#include "kernel/kernel.h"

Go to the source code of this file.

Functions

CHECK_RETVAL STDC_NONNULL_ARG ((1))
 
void endSemaphores (void)
 
void setSemaphore (IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE semaphore, const MUTEX_HANDLE object)
 
void clearSemaphore (IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE semaphore)
 
CHECK_RETVAL_BOOL BOOLEAN krnlWaitSemaphore (IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE semaphore)
 
CHECK_RETVAL int krnlEnterMutex (IN_ENUM(MUTEX) const MUTEX_TYPE mutex)
 
void krnlExitMutex (IN_ENUM(MUTEX) const MUTEX_TYPE mutex)
 

Function Documentation

void clearSemaphore ( IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE  semaphore)

Definition at line 159 of file semaphore.c.

void endSemaphores ( void  )

Definition at line 70 of file semaphore.c.

CHECK_RETVAL int krnlEnterMutex ( IN_ENUM(MUTEX) const MUTEX_TYPE  mutex)

Definition at line 294 of file semaphore.c.

void krnlExitMutex ( IN_ENUM(MUTEX) const MUTEX_TYPE  mutex)

Definition at line 326 of file semaphore.c.

CHECK_RETVAL_BOOL BOOLEAN krnlWaitSemaphore ( IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE  semaphore)

Definition at line 206 of file semaphore.c.

void setSemaphore ( IN_ENUM(SEMAPHORE) const SEMAPHORE_TYPE  semaphore,
const MUTEX_HANDLE  object 
)

Definition at line 132 of file semaphore.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1)  )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 38 of file semaphore.c.