tfKernelCreateCountSem

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


int tfKernelCreateCountSem (ttUserGenericUnionPtr countingSemaphorePtr);


Function Description

This call is RTOS specific.

This function is used to create a counting semaphore that is used by Treck.


Parameters

  • countingSemaphorePtr
    An RTOS counting semaphore.


Returns

  • TM_ENOERROR
    Success
  • TM_KERN_ERROR
    Failure


Table of Contents >> Programmer's Reference