Wishlist (my go?)

BlitzMax Forums/BlitzMax Programming/Wishlist (my go?)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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
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.