annotate example/word_count/ppe/Exec.h @ 393:cb06748ba6cf draft

add word_count
author e065725@localhost.localdomain
date Tue, 15 Sep 2009 16:30:46 +0900
parents
children 839e34d0cc3c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
393
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_TASK_HELLO
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_TASK_HELLO
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
3
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
4 #ifndef INCLUDED_SCHED_TASK
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
5 # include "SchedTask.h"
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
6 #endif
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
7
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
8 class Exec : public SchedTask {
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
9 public:
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
10 SchedConstructor(Exec);
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
11
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
12 int run(void *r, void *w);
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
13 };
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
14
cb06748ba6cf add word_count
e065725@localhost.localdomain
parents:
diff changeset
15 #endif