Creating threads manually?

BlitzMax Forums/BlitzMax Beginners Area/Creating threads manually?

AntonyWells(Posted 2004) [#1]
Before I try, is there anything stopping someone from passing a blitz made function pointer to windows thread 'stuff' and spawning threads like that?
I see Tommy's LuaScript lets you pass blitz functions to C++ code fine, but not sure if they're compatible with threads?

Would be nice to have a module like that,

New:Thread=Thread:Spawn( myFunction)

New:Priority(16)

etc..


Kanati(Posted 2004) [#2]
shouldn't be an issue from what I've seen of function pointers.