Commit 254e25ac7fbbe53ad0c8488bfe9653e84cec62e5

Con Kolivas 2013-02-16T14:03:40

Add comments.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cgminer.c b/cgminer.c
index 48164f5..764a9c6 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));
 }