 	}
 	WaitForSingleObject(*semLock, INFINITE);
 #else
-	sem_t* semLock = sem_open("AliceHLTTPCCAGPUTrackerInitLock", O_CREAT);
+	sem_t* semLock = sem_open(SemLockName, O_CREAT, 0x01B6, 1);
 	if (semLock == SEM_FAILED)
 	{
 		HLTError("Error creating GPUInit Semaphore");


bool AliHLTTPCCAGPUTracker::fgGPUUsed = false;

void AliHLTTPCCAGPUTracker::ReleaseGlobalLock(void* sem)
{
#ifdef R__WIN32

#else
	sem_t* pSem = (sem_t*) sem;
	sem_post(pSem);
	sem_unlink(SemLockName);
#endif
}

