diff options
author | jcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-31 16:57:11 +0000 |
---|---|---|
committer | jcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-31 16:57:11 +0000 |
commit | ea604c0714a46eef1f159c31f17c3367147bcf22 (patch) | |
tree | 88c57b0e9ef579128c4e88b5bd7550a6f303bc98 /docs/tutorials/013/task.h | |
parent | 67f212c9a6ca8293fd03ba5f208c52679b7dc542 (diff) | |
download | ATCD-ea604c0714a46eef1f159c31f17c3367147bcf22.tar.gz |
*** empty log message ***
Diffstat (limited to 'docs/tutorials/013/task.h')
-rw-r--r-- | docs/tutorials/013/task.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/tutorials/013/task.h b/docs/tutorials/013/task.h index ced1ad15cf9..64f4064dfa0 100644 --- a/docs/tutorials/013/task.h +++ b/docs/tutorials/013/task.h @@ -31,8 +31,12 @@ public: Task (int sub_tasks = 0); ~Task (void); - // Open the Task with the proper thread-pool size - int open (int threads = 1); + /* + I really wanted this to be called open() but that was already + claimed by the Task framework. start() will kick off our thread + pool for us. + */ + int start (int threads = 1); // Take Unit_Of_Work objects from the thread pool and invoke // their process() and/or fini() as appropriate. |