# HG changeset patch # User mir3636 # Date 1486293775 -32400 # Node ID bc17237bc8cfa58c65a73a8719d18b2d7dd4a305 # Parent e6bc0a4c2c36d0ead03e9a8c7a74340f440429a4 fix generate_context diff -r e6bc0a4c2c36 -r bc17237bc8cf src/parallel_execution/generate_context.pl --- a/src/parallel_execution/generate_context.pl Sun Feb 05 19:08:22 2017 +0900 +++ b/src/parallel_execution/generate_context.pl Sun Feb 05 20:22:55 2017 +0900 @@ -114,6 +114,8 @@ sub generateContext { $codeGear{"start_code"} = "$ddir/$name-context.c"; $codeGear{"exit_code"} = "$ddir/$name-context.c"; + $mCodeGear{"start_code"} = "$ddir/$name-context.c"; + $mCodeGear{"exit_code"} = "$ddir/$name-context.c"; open my $fd,">","$ddir/extern.h" or die("can't open $ddir/extern.h $!"); for my $code ( sort keys %codeGear ) { print $fd "extern __code ${code}_stub(struct Context*);\n";