Skip to content

Commit 0f3931c

Browse files
committed
jobs
1 parent 3c0b0a4 commit 0f3931c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/howto/a-conceptual-overview-of-asyncio.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ It's behind the scenes managing resources.
3939
Some power is explicitly granted to it, but a lot of its ability to get things
4040
done comes from the respect and cooperation of its teammates.
4141

42-
In more technical terms, the event loop contains a queue of tasks (or "chunks
42+
In more technical terms, the event loop contains a queue of jobs (or "chunks
4343
of work") to be run.
44-
Some tasks are added directly by you, and some indirectly by ``asyncio``.
45-
The event loop pops a task from the queue and invokes it (or "gives it control"),
46-
similar to calling a function, then that task runs.
44+
Some jobs are added directly by you, and some indirectly by ``asyncio``.
45+
The event loop pops a job from the queue and invokes it (or "gives it control"),
46+
similar to calling a function, then that job runs.
4747
Once it pauses or completes, it returns control to the event loop.
48-
The event loop will then move on to the next task in its queue and invoke it.
48+
The event loop will then move on to the next job in its queue and invoke it.
4949
This process repeats indefinitely.
5050
Even if the queue is empty, the event loop continues to cycle (somewhat
5151
aimlessly).
5252

53-
Effective execution relies on tasks sharing well: a greedy task could hog
53+
Effective execution relies on tasks sharing well: a greedy job could hog
5454
control and leave the other tasks to starve, rendering the overall event loop
5555
approach rather useless.
5656

0 commit comments

Comments
 (0)