I'm trying to figure out if BriskVM supports threading, sort of like the way that the MicroC library does it, that is, something like this:
This would allow me to have BVM code interleaved and running "at the same time" as BM code, or anyway, allow me to process GUI events while running a BVM script.
I'm doing this with MicroC right now but honestly, and no offense to Helios, but it's a bit crufty code and not very many people are using it. I'd like to convert over to using BriskVM for our scripts.
Thread = BVM_MakeThread(SourceFilename) ' Filename to compiled script, plain script, or a bank of bytecode Repeat PollEvent() Select Case CurrentEvent.EventID . . . EndSelect BVM_TimeSlice(Thread, 100) Forever
This would allow me to have BVM code interleaved and running "at the same time" as BM code, or anyway, allow me to process GUI events while running a BVM script.
I'm doing this with MicroC right now but honestly, and no offense to Helios, but it's a bit crufty code and not very many people are using it. I'd like to convert over to using BriskVM for our scripts.