Mercurial > hg > Members > Moririn
comparison src/parallel_execution/generate_stub.pl @ 400:2d375c583064
Fix
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 29 Aug 2017 04:29:50 +0900 |
parents | 394e38952c80 |
children | 408b4aab7610 |
comparison
equal
deleted
inserted
replaced
399:394e38952c80 | 400:2d375c583064 |
---|---|
446 } | 446 } |
447 my $putTask = << "EOFEOF"; | 447 my $putTask = << "EOFEOF"; |
448 ${prev}element = &ALLOCATE(context, Element)->Element; | 448 ${prev}element = &ALLOCATE(context, Element)->Element; |
449 ${prev}element->next = NULL; | 449 ${prev}element->next = NULL; |
450 ${prev}element->data = (union Data*)task; | 450 ${prev}element->data = (union Data*)task; |
451 ${prev}element->data = data; | |
452 ${prev}element->next = NULL; | |
453 ${prev}queue->last->next = element; | 451 ${prev}queue->last->next = element; |
454 ${prev}queue->last = element; | 452 ${prev}queue->last = element; |
455 EOFEOF | 453 EOFEOF |
456 print $fd $putTask; | 454 print $fd $putTask; |
457 next; | 455 next; |