A way for change the value of a var (runtime)?
Posted: 19. May 2014, 18:20
HI. I need to change the value of a variable while the VM is running (runtime).
If a create a variable in the source code (for example bool x=true), and i need to change the value to false while the virtual machine is runnig, how can i do it? for avoid problems, i can use a binary semaphore (or someting else).
If a create a variable in the source code (for example bool x=true), and i need to change the value to false while the virtual machine is runnig, how can i do it? for avoid problems, i can use a binary semaphore (or someting else).