ThreadSafe

ThreadSafe annotation indicates that the annotated target is safe for concurrent access. The precise meaning depends upon the type of the target:

  • Method. The method is safe for concurrent execution by multiple threads. Whether the method is side-effect free or internally locked is unspecified.

  • Type. Each public method provided by this type is safe for concurrent execution by multiple threads. Whether any given method is side-effect free or internally locked is unspecified.

Author

Todd L Smith

Constructors

Link copied to clipboard
fun ThreadSafe()