In my quest for Prometheus_Audio I came across a small nuisance in how OpenAl works... Or rather common sense: I have to update buffers at least once every second at least.

Prometheus is aimed at beginners, and I must say I'm not sure I want to tell them that if they want audio you have to call the update procedure at least once a second, depending on the bit rate of you audio file.

My solution was to have Prometheus make a thread that would only run that loop.
However, I did poke around for multi-threading and drew one major conclusion: headache. Anyways, always the optimist I thought it was easier than it looked and gave it a go. And guess what: I gots a headache too now...

My question is: does anyone have a snippet that launches a thread that simply steps through a loop non-stop and how to get it working?

Any help would be much appreciated; I'm totally confused d now...

cheers,
code_glitch