Optimizing read transaction startup time: Racy data structures

added by DotNetKicks
11/1/2016 12:47:22 PM

2 Kicks, 42 Views

Remember that the Transaction is only being set from the original thread, but can be reset from another thread if the transaction moved between threads. We don't really care, the way it works, we read the node's transaction field, and then check its value (once we have a stable reference).