Friday, 22 April 2016

What is a thread safe class ?


A thread-safe class works correctly when accessed from multiple threads, with no additional synchronization or other coordination on the part of the calling code.

They encapsulate any needed synchronization so that client need not to provide their own mechanism.

 - Java Concurrency In Practice

No comments:

Post a Comment

Note: only a member of this blog may post a comment.