Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on April 27, 2023, 01:16:38 am



Title: Ask Reuben 173 - Threading
Post by: Reuben B. 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/