Lines Matching refs:semaphore
41 /* Temporary semaphore state.
43 * A semaphore *may* have temporary state. That state is added to the
44 * semaphore by an import operation and is reset back to NULL when the
45 * semaphore is reset. A semaphore with temporary state cannot be signaled
46 * because the semaphore must already be signaled before the temporary
47 * state can be exported from the semaphore in the other process and
52 /** Permanent semaphore state.
54 * Every semaphore has some form of permanent state.
65 struct vk_semaphore *semaphore);
68 vk_semaphore_get_active_sync(struct vk_semaphore *semaphore)
70 return semaphore->temporary ? semaphore->temporary : &semaphore->permanent;