Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi Threading
#2
It's not possible without significant changes to the runtime, the runtime is not designed to be thread-safe so there's many operations that will break if they happen across multiple threads (Ex. Using strings, creating/freeing images, reading input, etc.).

_GL gets around this by pausing execution of the main thread while the _GL thread is working, ensuring there's never two threads running your QB64 code at the same time.
Reply


Messages In This Thread
Multi Threading - by aadityap0901 - 10-17-2025, 09:24 AM
RE: Multi Threading - by DSMan195276 - 10-17-2025, 11:56 AM
RE: Multi Threading - by aadityap0901 - 10-17-2025, 02:02 PM
RE: Multi Threading - by DSMan195276 - 10-17-2025, 02:11 PM
RE: Multi Threading - by aadityap0901 - 10-17-2025, 03:09 PM
RE: Multi Threading - by justsomeguy - 10-17-2025, 10:14 PM
RE: Multi Threading - by hsiangch_ong - 10-19-2025, 05:46 AM
RE: Multi Threading - by mdijkens - 10-19-2025, 01:53 PM
RE: Multi Threading - by SpriggsySpriggs - 10-22-2025, 02:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)