11.07.2015 Views

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Counting SemaphoresReturn value0: If the value could be set.!= 0: In case of error.OS_DeleteCSema()DescriptionReturns the counter value of a specified semaphore.Prototypevoid OS_DeleteCSema (OS_CSEMA* pCSema);ParameterDescriptionpCSemaTable 58: OS_DeleteCSema() parameter listAdditional InformationPointer to a data structure of type OS_CSEMA.Before deleting a semaphore, make sure that no task is waiting for it and that no task will signal that semaphore at alater point.The debug version of <strong>IAR</strong> <strong>PowerPac</strong> <strong>RTOS</strong> will reflect an error if a deleted semaphore is signaled.PP<strong>RTOS</strong>-259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!