Skip to content

Commit

Permalink
Use .interrupt in its own example instead of .request_exit
Browse files Browse the repository at this point in the history
  • Loading branch information
aluaces committed Sep 13, 2024
1 parent e8b59f6 commit 7cb40eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/v2/quickstart.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ interpret as a signal to shutdown.

```
process proc("/usr/bin/addr2line", {});
proc.request_exit();
proc.interrupt();
proc.wait();
```

Expand Down Expand Up @@ -120,4 +120,4 @@ The async version supports cancellation and will forward cancellation types as f

[endsect]

[endsect]
[endsect]

0 comments on commit 7cb40eb

Please sign in to comment.