Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 173 - Threading  (Read 3179 times)
Reuben B.
Four Js
Posts: 1062


« on: April 27, 2023, 01:16:38 am »

A question that gets asked from time to time is can Genero do threading?  I think that question comes from developers who have used Java in the past.
 
The strict answer to the question is No, the Genero process (fglrun) is single threaded.  A fglrun process has exclusive access to its data structures, you never have to worry about variable values being changed by another thread.
 
However when questioned as to what it is the developer is trying to achieve when they ask a threading question, the answer is typically that the developer can achieve what they want with a little bit of thinking.

Read more at https://4js.com/ask-reuben/ig-173/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines