Jump to main content

##

# 1.4.4.17 OSAL_SEM_TYPE Enum

## C

    typedef enum OSAL_SEM_TYPE
    {
      OSAL_SEM_TYPE_BINARY,
      OSAL_SEM_TYPE_COUNTING
    } OSAL_SEM_TYPE;

## Summary

Enumerated type representing the possible types of semaphore.

## Description

This enum represents possible semaphore types. OSAL_SEM_TYPE_BINARY - Simple binary type that can be taken once OSAL_SEM_TYPE_COUNTING - Complex type that can be taken set number of times defined at creation time

## Remarks

Binary and counting semaphore type.