G
Guest
Hi,
I've read that I can only pass references to monitor objects - but how can I
do that? I just wanted a .net equivalent to the C++ CCriticalSection class.
How can I declare a dummy reference to any object (I don't intend to use at
all) to create a section of my code that is only executed by ONE thread at
the same time?
Thanks,
Peter
I've read that I can only pass references to monitor objects - but how can I
do that? I just wanted a .net equivalent to the C++ CCriticalSection class.
How can I declare a dummy reference to any object (I don't intend to use at
all) to create a section of my code that is only executed by ONE thread at
the same time?
Thanks,
Peter