From 254e25ac7fbbe53ad0c8488bfe9653e84cec62e5 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 16 Feb 2013 14:03:40 +1100 Subject: [PATCH] Add comments. --- cgminer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cgminer.c b/cgminer.c index 48164f51..764a9c64 100644 --- a/cgminer.c +++ b/cgminer.c @@ -5611,6 +5611,9 @@ static void fill_queue(struct thr_info *mythr, struct cgpu_info *cgpu, struct de wr_lock(&cgpu->qlock); HASH_ADD_INT(cgpu->queued_work, id, work); wr_unlock(&cgpu->qlock); + /* The queue_full function should be used by the driver to + * actually place work items on the physical device if it + * does have a queue. */ } while (!drv->queue_full(cgpu)); }