C
Chuck
I have not been able to find a good answer about the
System.Collections.Queue.Synchronized() method and how it actually works or
is to be used.
If I create my Queue in the following manner:
System.Collections.Queue myQueue = System.Collections.Queue.Synchronized(new
System.Collections.Queue());
is it a Thread-Safe queue no matter where it is used? Or do I have to call
Synchronized() and use the Queue that it returns everytime I want to use the
Queue.
Thanks,
Chuck
System.Collections.Queue.Synchronized() method and how it actually works or
is to be used.
If I create my Queue in the following manner:
System.Collections.Queue myQueue = System.Collections.Queue.Synchronized(new
System.Collections.Queue());
is it a Thread-Safe queue no matter where it is used? Or do I have to call
Synchronized() and use the Queue that it returns everytime I want to use the
Queue.
Thanks,
Chuck