Skip to content

Commit

Permalink
Documentation|libdeng2|TaskPool: Information about usage
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 5, 2013
1 parent 5daa1f2 commit df044de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/libdeng2/include/de/concurrency/taskpool.h
Expand Up @@ -30,6 +30,11 @@ class Task;
/**
* Pool of concurrent tasks.
*
* The application uses a single, shared pool of background threads regardless
* of how many instances of TaskPool are created. One should use a separate
* TaskPool instance for each group of concurrent tasks whose state needs to be
* observed as a whole.
*
* While TaskPool allows the user to monitor whether all tasks are done and
* block until that time arrives (TaskPool::waitForDone()), no facilities are
* provided for interrupting any of the started tasks. If that is required, the
Expand Down

0 comments on commit df044de

Please sign in to comment.