rem: for (i = 0; SemList[i] != NULL; i++) if (*SemList[i] == sem) { semthread[i] = SDL_ThreadID (); break; } #endif
context: TrySetSemaphore (Semaphore sem){	int i;	i = NativeTrySetSemaphore ((NativeSemaphore) sem);#ifdef DEBUG_TRACK_SEM	if (i == 0)		for (i = 0; SemList[i] != NULL; i++)			if (*SemList[i] == sem)			{				semthread[i] = SDL_ThreadID ();				break;			}#endif	return (i);}