What's the best way to allow many threads modify a global variable?
At the moment I have a THREADSAFE SUB which I call from the threads
At the moment I have a THREADSAFE SUB which I call from the threads
Code:
SUB Modify_Quantity( BYVAL V AS LONG) THREADSAFE GVar = GVar + V END SUB
Comment