2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00

Begin Glossary

This commit is contained in:
Florian Gilcher 2019-08-12 22:04:58 +02:00
parent 95a2f8ed38
commit 297d9f189d
No known key found for this signature in database
GPG key ID: E7B51D33F8EBF61B

View file

@ -0,0 +1,7 @@
# Glossary
### blocking
"blocked" generally refers to conditions that keep a task from doing its work. For example, it might need data to be sent by a client before continuing. When tasks becomes blocked, usually, other tasks are scheduled.
Sometimes you hear that you should never call "blocking functions" in an async context. What this refers to is functions that block the current thread and do not yield control back. This keeps the executor from using this thread to schedule another task.