예제 #1
0
/* Destroy a condition variable */
void SDL_DestroyCond(SDL_cond *cond)
{
	if (cond)
	{
		LWP_CondDestroy(cond->cond);
		SDL_free(cond);
	}
}
예제 #2
0
파일: threads.c 프로젝트: DCurrent/openbor
void cond_destroy(bor_cond *cond)
{
	LWP_CondDestroy(*cond);
	free(cond);
}