diff --git a/src/xrt/auxiliary/util/u_sink_queue.c b/src/xrt/auxiliary/util/u_sink_queue.c index a51d8f7d9..6f672368c 100644 --- a/src/xrt/auxiliary/util/u_sink_queue.c +++ b/src/xrt/auxiliary/util/u_sink_queue.c @@ -52,6 +52,8 @@ struct u_sink_queue pthread_t thread; pthread_mutex_t mutex; + + //! So we can wake the mainloop up pthread_cond_t cond; //! Should we keep running. @@ -141,7 +143,7 @@ queue_mainloop(void *ptr) pthread_cond_wait(&q->cond, &q->mutex); } - // Where we woken up to turn off. + // In this case, queue_break_apart woke us up to turn us off. if (!q->running) { break; }