Lines Matching refs:semaphores
921 vector<SemaphoreSp> semaphores (numPackets+1);
935 // Initialize semaphores.
936 for (vector<SemaphoreSp>::iterator sem = semaphores.begin(); sem != semaphores.end(); ++sem)
953 packet.wait = semaphores[packetNdx*numThreads + threadNdx];
954 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1];
997 semaphores.front()->increment();
998 semaphores.back()->decrement();