We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all, hope someone can shed some light on this. This is my first time working with threads in processing I'm using a simple implementation of thread("somemethod"). Within somemethod() I have a globally declared boolean being altered but this is not being recognised by other functions in the main draw() loop?! simplified code below :)
simplified code shown in the post below.
Any suggestions would be greatly appreciated!
In a nutshell how do you get a variable (boolean) state change in one thread to affect the state of the same boolean in another thread? :)