L
localhost
I have a Hashtable that is a property of a Singleton.
Clients do a GetInstance() on the Singleton and then call a read or
write method to
perform work on the Hashtable.
I am worried that this is not thread-safe. Or because the Hashtable
is a property of the
Singleton, maybe it is.
Is it?
Thanks.
Clients do a GetInstance() on the Singleton and then call a read or
write method to
perform work on the Hashtable.
I am worried that this is not thread-safe. Or because the Hashtable
is a property of the
Singleton, maybe it is.
Is it?
Thanks.