destroy

이 메소드는 RiCOSSemaphore 오브젝트를 영구 삭제합니다.

시그니처
void RiCOSSemaphore_destroy (RiCOSSemaphore *const me);
매개변수
me

영구 삭제할 RiCOSSemaphore 오브젝트입니다.

예제
void RiCOSSemaphore_destroy(RiCOSSemaphore * const me)
{
   if (me == NULL) return;

   RiCOSSemaphore_cleanup(me);
   free(me);
}

피드백