Skip to content

Commit

Permalink
fix some formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
biddisco committed Oct 26, 2016
1 parent 92c6eef commit ccfaa0c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cscs2016/session6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ passed into the async function.
```
auto my_future = hpx:async(something).then(another_thing).then(yet_more);
```
* `my_future` and `something` are instantiated when that line of code is hit,
but `another_thing` isn't created until `something` completes, and `yet_more`
isn't created until `another_thing` completes.
* `my_future` and `something` are instantiated when that line of code is hit,
but `another_thing` isn't created until `something` completes, and `yet_more`
isn't created until `another_thing` completes.

```
std::vector<shared_future<T>> futures;
Expand Down Expand Up @@ -195,7 +195,8 @@ for each will keep incrementing until there's an overflow.
[](auto &&f){
return something_wonderful(f.get());
}
);```
);
```
* The task that spawns the child will suspend and the child runs in its place
* The parent task goes back to the pending work queue

Expand Down

0 comments on commit ccfaa0c

Please sign in to comment.