Fibers and async io stuff for beginners

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 24 08:32:12 PDT 2015


On Friday, 24 April 2015 at 12:38:39 UTC, Jens Bauer wrote:
> On Friday, 24 April 2015 at 09:15:21 UTC, Chris wrote:
>>
>> I was more thinking of the audio thread. But the audio is 
>> probably better off in a separate thread.
>
> I think you could do this too.
> In fact, this is very similar to how the audio from a MOD file 
> is decoded.
> (I only mentioned an interrupt, because I'm used to putting 
> audio in interrupts, since I work very close to the hardware; 
> meaning that interrupts will normally be much more efficient)

I might give it a shot.


More information about the Digitalmars-d-learn mailing list