summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-3.2.20/examples/asyncio/01-load-bitmaps/README.txt
blob: e4283d46a27fcc495a7e4de91e930ab3f1f5fae9 (plain)
1
2
3
4
5
6
This example code loads a few bitmap files from disk using the asynchronous
i/o, and then draws it to the window. It uses a task group to watch multiple
reads and deal with them in whatever order they finish.

Note that for a single tiny file like this, you'd probably not want to bother
with async i/o in real life, but this is just an example of how to do it.