True, add_buffer's thread-safety is of little to no consequence as it's not what makes things slow. I'd be interested in what other functions are thread-safe. Your (JustSid's) example is great, but it'd be nice to be able to just use file_load in another thread, for example (as the add_buffer example in the manual shows).

@jcl:
I know I got carried away when TechMuc said "thread-safe" and jcl said "yes". Any info on the thread-safety of other A8 functions? Any chance this info can be included in the manual?
Originally Posted By: JustSid
Yes, its more trivial than the concept of wait() which is expected to be understood by everyone here. So yes, I consider this as trivial.
No, it's not. I'd bet most users only understand wait as "Leave the function for now and continue from here next frame". Many beginners can get by thinking it's just something you have to put at the end of while(1) loops. Most people here are C-Script/Lite-C programmers, not Windows C programmers.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!