ion-java icon indicating copy to clipboard operation
ion-java copied to clipboard

Add cookbook documentation demonstrating safe multi-threaded usage of IonValue

Open tgregg opened this issue 9 months ago • 1 comments

Safely accessing an IonValue concurrently requires calling makeReadOnly in a single thread before initiating concurrent access. Violating this contract can result in non-deterministic behavior that is hard to root cause. Although the API documentation makes this contract clear, adding documentation that introduces the concept to new users early could reduce the risk that it is violated.

tgregg avatar May 07 '24 18:05 tgregg