in reply to Shared variable not changing?

I'm not bothering to work my way thru all that ref based code, but from your node title, I will tell you that other threads will NOT automatically update the value they have for the shared variable..... it needs to be updated manually in a whille loop or an event-system. Threads do NOT export the value they set in their own thread, to ALL other threads. They don't even NOTIFY other threads that there has been a change.

If you want real sharing of actual memory space, used Shared Memory Segments. But pardon me, if you already realize this.


I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness