C
cj
members of this type are safe for multithreaded operations. Instance
members are not guaranteed to be thread-safe.
I'm under the impression before you can use a class you have to make an
instance of it. So how can a class be threadsafe by itself but an
instance of it not be?
I guess I don't get what exactly being threadsafe means. Multiple
theads can use the same instance of a class?
members are not guaranteed to be thread-safe.
I'm under the impression before you can use a class you have to make an
instance of it. So how can a class be threadsafe by itself but an
instance of it not be?
I guess I don't get what exactly being threadsafe means. Multiple
theads can use the same instance of a class?