comparison example/many_task/sort.cc @ 938:8733ad41297d

dead lock still remains. zombi problem?
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 31 Jul 2010 10:32:19 +0900
parents 14fb1c888931
children 9cfac2e8fc2e
comparison
equal deleted inserted replaced
937:9689cba44964 938:8733ad41297d
52 static int 52 static int
53 sort_restart(SchedTask *s, void *d, void *e) 53 sort_restart(SchedTask *s, void *d, void *e)
54 { 54 {
55 static int ccc = 0; 55 static int ccc = 0;
56 56
57 printf("restarted %d %% %d\n",ccc++,split_num); 57 // printf("restarted %d %% %d\n",ccc++,split_num);
58 sort_start(s); 58 sort_start(s);
59 return 0; 59 return 0;
60 } 60 }
61 #ifdef USE_SIMPLE_TASK 61 #ifdef USE_SIMPLE_TASK
62 62