3 ms·
> Emulating asynchronous execution with a thread is ok too Straying away from the topic, but I used to support a file streaming library for the game studio I w
by malkia 11y ago
> Emulating asynchronous execution with a thread is ok too
Straying away from the topic, but I used to support a file streaming library for the game studio I worked with, and while this approach worked, some things were not gracefully handled - for example canceling reading in the middle, or somehow giving all your I/O requests to the underlying system, so it can decide what's the best way to read them (aio?).