Lazy Thread Safety Mode
Specifies how a Lazy instance synchronizes initialization among multiple threads.
Entries
PUBLICATION
Link copied to clipboard
Content copied to clipboard
SYNCHRONIZED
Link copied to clipboard
Content copied to clipboard
Locks are used to ensure that only a single thread can initialize the Lazy instance.