L1VM - local variables

As you may already know there are only global variables in Brackets. To get “local” ones you have to give them an unique name in the code. Now a thread can copy the data to a “local data”, which makes local variables possible. So if you run a function as a thread it will not overwrite the other threads data. The current 2.7.0 version on GitHub has this new feature included. There are two programs which use it: “prog/hello-thread-3-local.l1com” and “prog/webserver-thread-local.l1com”. So you can have a look at them.