# HG changeset patch # User Shinji KONO # Date 1280664409 -32400 # Node ID a468a9784e873a153453b9fd3589163e2d4d53c3 # Parent a8b6ee80c1089a830c3776d5610547c87652fdbd add WordCount.h diff -r a8b6ee80c108 -r a468a9784e87 example/word_count/WordCount.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/word_count/WordCount.h Sun Aug 01 21:06:49 2010 +0900 @@ -0,0 +1,19 @@ + +typedef struct wordCount { + struct wordCount *self; + int size; // remaining file size + int division_size; // for each word count task + int division_out_size; + int out_size; + int task_num; // remaining task count + int task_blocks; // spawn task one at a time + int status_num; + int task_spwaned; + unsigned long long *o_data; + unsigned long long *head_tail_flag; + int out_task_num; + int pad; + char * file_mmap; + HTaskPtr t_print; +} WordCount; +