Skip to content

Commit aff0003

Browse files
committed
Update background jobs documentation to clarify job number assignment process. Changed wording to specify sequential assignment when a job exits, enhancing understanding of job number recycling.
1 parent 1844731 commit aff0003

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

stage_descriptions/background-jobs-09-fy4.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $ jobs
6565
[1]+ Running sleep 100 &
6666
```
6767

68-
The tester will also restart your program and verify number reuse when a gap exists:
68+
The tester will also restart your program and verify number reuse when a job exits:
6969
```bash
7070
$ sleep 100 &
7171
[1] <pid>
@@ -93,5 +93,4 @@ The tester will verify that:
9393
### Notes
9494

9595
- Job numbers are recycled—they don't grow forever. After job 2 exits, the next job is `[2]`, not `[3]`.
96-
- Always assign the smallest available number, not just the next sequential number.
9796
- When the job table is empty, reset to `[1]`.

0 commit comments

Comments
 (0)