Mercurial > hg > GearsTemplate
changeset 550:91c8f5613a49
tweak update_context.pl
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 13 Nov 2019 18:12:07 +0900 |
parents | 05fd14d8edbe |
children | bce3183c2e35 |
files | src/parallel_execution/context.h src/parallel_execution/update_context.pl |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/context.h Wed Nov 13 16:04:34 2019 +0900 +++ b/src/parallel_execution/context.h Wed Nov 13 18:12:07 2019 +0900 @@ -437,7 +437,6 @@ struct Atomic* atomic; struct Context* lockContext; } SpinLock; - //INFO: NEXT_CONTEXT }; // union Data end this is necessary for context generator typedef union Data Data;
--- a/src/parallel_execution/update_context.pl Wed Nov 13 16:04:34 2019 +0900 +++ b/src/parallel_execution/update_context.pl Wed Nov 13 18:12:07 2019 +0900 @@ -8,7 +8,6 @@ my ($first,$last) = slup_context_h($h2context->{name}); print "@{$first}"; print "$context"; -print " //INFO: NEXT_CONTEXT\n"; print "@{$last}"; @@ -22,7 +21,8 @@ my @last_context_headers = (); while (my $line = <$fh>) { - if ( $line =~ /INFO: NEXT_CONTEXT/) { + if ( $line =~ /this is necessary for context generator/) { + push(@last_context_headers, $line); push(@last_context_headers, <$fh>); last; }