Qbasicnews.com

Full Version: Multithreading?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can FreeBASIC multithread? If not will it be able to in the future?

Also, I would love to see the use of ++ and -- operators in FreeBASIC
see in examples\ directory threads.bas
wallace addding more C stuff to FB hmmm. if we keep doing then at what point does FB stop being a basic and cross the line to a C vareation.
In 0.12 you'll have built-in multithreading (multiplatform) support; the example in examples/threads.bas will be different than the one included in 0.11, and will use the new thread functions, allowing it to be compiled unchanged also under Linux.
Have a look in CVS:
http://cvs.sourceforge.net/viewcvs.py/fb...iew=markup

The whole runtime library and gfxlib will not be thread-safe in 0.12, I hope they'll be for 0.13.
never used C, I was thinking of java. I just liked those functions, easier than adding 1, doesn't have to be ++, maybe INC
Quote:In 0.12 you'll have built-in multithreading (multiplatform) support; the example in examples/threads.bas will be different than the one included in 0.11, and will use the new thread functions, allowing it to be compiled unchanged also under Linux.
Have a look in CVS:
http://cvs.sourceforge.net/viewcvs.py/fb...iew=markup

The whole runtime library and gfxlib will not be thread-safe in 0.12, I hope they'll be for 0.13.

Are you telling us that with 0.13 every fb-build-in command will be thread safe?
Even Strings?
Quote:http://www.freewebs.com/wizgui

What are your future plans on this?
Is it possible to switch from sdl to lillo's gfx-lib?

BTW: I'm sorry that I'm so quiet regarding wizgui, but life seems to interfere with my plans... :oops:
Quote:
VonGodric Wrote:http://www.freewebs.com/wizgui

What are your future plans on this?
Is it possible to switch from sdl to lillo's gfx-lib?

BTW: I'm sorry that I'm so quiet regarding wizgui, but life seems to interfere with my plans... :oops:
What about it?
Quote:Are you telling us that with 0.13 every fb-build-in command will be thread safe?
Even Strings?
Yes, that's a reasonable goal.
Quote:
Quote:Are you telling us that with 0.13 every fb-build-in command will be thread safe?
Even Strings?
Yes, that's a reasonable goal.

awesome :bounce:
Pages: 1 2