-
I'm using the C++ spanner client and make copies when necessary according to
for thread safety. However I didn't find any documentation around whether it's safe to share the same transaction across multiple threads. Can someone confirm whether it's safe or not? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
devbww
Oct 27, 2021
Replies: 1 comment
-
Yes, a transaction can be used across multiple threads. It seems there would need to be some synchronization to decide who commits and when, however. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
qizzzh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, a transaction can be used across multiple threads. It seems there would need to be some synchronization to decide who commits and when, however.