Atlas - ext/SDL/examples/asyncio/01-load-bitmaps
Home / ext / SDL / examples / asyncio / 01-load-bitmaps[DIR BEGIN]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.
* ../ * README.txt * load-bitmaps.c * thumbnail.png[DIR END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.