comparison example/many_task/sort.cc @ 939:9cfac2e8fc2e

loop detection.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 31 Jul 2010 12:18:19 +0900
parents 8733ad41297d
children 0d404f6c36a8
comparison
equal deleted inserted replaced
938:8733ad41297d 939:9cfac2e8fc2e
50 SchedDefineTask1(RESTART, sort_restart ); 50 SchedDefineTask1(RESTART, sort_restart );
51 51
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 }