I agree for a Mod's thread - only one place to looking for possible solutions...it could be a good idea.
Multithreading
Can someone explain me HOW it should works - if it could be possible of course! - in a plain blitzmax source code?
I mean: I know (if I'm correct) that base concept of multithreading is the possibility to create 'parallels processes' that (can) share a work (or do something different) in (quite) the same frame-time.
But from source code this means that you need to check and sync all the works?
imaginative-code
Yes! I can't imagine how it should could work...In my opinion (execept for some specific cases) multithreading is only a mess.
Multithreading
Can someone explain me HOW it should works - if it could be possible of course! - in a plain blitzmax source code?
I mean: I know (if I'm correct) that base concept of multithreading is the possibility to create 'parallels processes' that (can) share a work (or do something different) in (quite) the same frame-time.
But from source code this means that you need to check and sync all the works?
imaginative-code
t1:tthread=CreateThread() t2:tthread=CreateThread() 'one thread for loading image/movie UseThread(t1) image:timage=LoadImage(url...) 'the second one thread for loading sound/music UseThread(t2) sound:tsound=LOadSound(url...) and then?
Yes! I can't imagine how it should could work...In my opinion (execept for some specific cases) multithreading is only a mess.