changeset 1954:30b95f372a0d draft

fix read_size
author masa
date Thu, 06 Feb 2014 20:08:08 +0900
parents 2509242d5a67
children 2573919e0d72
files example/regex_mas/main.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();