Friday, April 24, 2015

Classes that are not thread safe

Does a facility exist to implement thread specific storage in a class, or cause that class to fault if its reference is passed into more than one thread? How does one normally ensure/convey a class that is not thread safe to a consumer aside from doc strings?

Thanks!

No comments:

Post a Comment