44 res = sem_init(&this->
semSlave, 0, 0);
A thread barrier for 2 threads using semaphores.
Definition linuxrendezvous.h:18
LinuxRendezvous()
constructor
Definition linuxrendezvous.h:39
sem_t semSlave
Definition linuxrendezvous.h:32
~LinuxRendezvous()
destructor
Definition linuxrendezvous.h:52
void MasterArrive()
call for "master" thread
Definition linuxrendezvous.h:62
sem_t semMaster
Definition linuxrendezvous.h:31
void SlaveArrive()
call for "slave" thread
Definition linuxrendezvous.h:72
#define n_assert(exp)
Definition debug.h:50
Definition linuxcompletioncounter.h:15
A semaphore is an inter-GPU queue synchronization primitive.