Mercurial > hg > GearsTemplate
changeset 525:98c5235b3ecb
Add comment
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 22 Jan 2018 09:57:20 +0900 |
parents | 3bb5da57ddb5 |
children | 8102ef6947a6 |
files | src/parallel_execution/SynchronizedQueue.cbc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/SynchronizedQueue.cbc Sun Jan 21 23:27:19 2018 +0900 +++ b/src/parallel_execution/SynchronizedQueue.cbc Mon Jan 22 09:57:20 2018 +0900 @@ -11,7 +11,7 @@ Queue* createSynchronizedQueue(struct Context* context) { struct Queue* queue = new Queue(); struct SynchronizedQueue* synchronizedQueue = new SynchronizedQueue(); - synchronizedQueue->top = new Element(); + synchronizedQueue->top = new Element(); // allocate a free node synchronizedQueue->top->next = NULL; synchronizedQueue->last = synchronizedQueue->top; synchronizedQueue->atomic = createAtomicReference(context);