# HG changeset patch # User masa # Date 1391684888 -32400 # Node ID 30b95f372a0dd06e048c679532a7bd2a1f7ae038 # Parent 2509242d5a676c7bdb64bb2ec9321ba768200e93 fix read_size diff -r 2509242d5a67 -r 30b95f372a0d example/regex_mas/main.cc --- a/example/regex_mas/main.cc Thu Feb 06 18:55:05 2014 +0900 +++ b/example/regex_mas/main.cc Thu Feb 06 20:08:08 2014 +0900 @@ -198,7 +198,7 @@ run_tasks(manager,w, w->task_blocks, t_read, t_next, w->division_size + w->extra_len); - t_read->set_param(2,w->task_spawned*w->division_size); + t_read->set_param(2,w->task_spawned*w->division_size + w->extra_len); t_read->spawn(); t_next->spawn();