I have a public object that I only want one thread to access at a time.
However the access to this object is not limited to one procedure. Will
SyncLock work in this case? If not what options do I have?
Thanks
SD
Code in Module
public A as Collection
Code in first file (this is a sub for a thread)
public sub1()
synclock A
A.add(.....)
end synclock
end sub
Code in another sub in another file for another thread
public sub2()
synclock A
'perform some operations on A
end synclock
end sub