Qbasicnews.com

Full Version: Multi-threading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys,

I've been searching the forum for anything on the subject of
multi-threading, multi-threaded, thread safe, etc., and I'm coming up
with practically nothing.

Can you launch multiple threads in FB? In Powerbasic, there are
commands such as THREAD CREATE, THREAD CLOSE,
THREAD SUSPEND, THREAD RESUME, etc. I know that's foreign
to QB syntax, but I don't see anything similar in the FB keywords
list.

An example of creating another thread would be helpful.

Is FB thread-safe and reentrant?

Dean
There is a commented example of threading in the distribution.
there's example about it in FB examples. You need to use however win api for that.

Although sdl too have threading support.